HTML Form help please!!!!!?

comp

New member
Hi I am creating a game using Java in which the game can be played on a web-page using the tomcat server. So I am using html to design the pages. I am new to html.
I want the game to have a welcome page in which the player enters their name. Then I want their name to show on the game page when they begin to play. I have both pages created and a hyperlink that connects them. But the problem I am having is getting the player name from the welcome page to show up on the game page. What are the commands I should use? I figure it has to do with GET but I can't figure it out.

This is what I am using on my welcome page: What do I need to put on my game page?
<form name="playername" action="game.html" method="get">
Player Name: <input type="text" name="playername" />
<input type="submit" value="Begin Game" />
</form>
 
Back
Top