The question is vague so allow me to clarify. I am developing a web app locally on eclipse and using Servlets, JSP, and an html document to design a web page.
I have a home page which has two buttons, signup and login. I have one file, called index.jsp, which has the html configurations of the homescreen.
So, when signup is clicked on, how can I get the server to load a new page with text input boxes?
Best How To :
You can send the request from one jsp to another. Lets say after the index.jsp you want to go to login.jsp when the button is pressed.Then create a form like this:
<input name="username" type="text"><br>
<input name="password" type="password">
<input type="Submit" value="Login">
Now in the login.jsp you can get the username and password using