Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I load multiple HTML pages on a servlet?

Status
Not open for further replies.

Efa

Programmer
Jul 9, 2001
18
0
0
AU
Hi,
Does anyone know how to load multiple pages on a servlet.I want to carry information on to the next page from the last but i'm not quite sure how to handle a new button so that it will display the next html page.I already have 2 html pages on this servlet and want to add the third
efa
 
I think you're failing to grasp the fact that you're in a stateless environment. in order to persist data between pages, you need to serialize and store your data locally, or pass it via GET or POST from one page to the next. using POST, you would submit the form and its fields to the next page and get the field values from the HTTPContext's Request.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top