This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlets and html forms..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets and html forms....." Watch "servlets and html forms....." New topic
Author

servlets and html forms.....

Pete Barr
Greenhorn

Joined: Jul 07, 2001
Posts: 3
Hi,
I have a html form which is processed by a servlet which accesses a database and returns a set of relevant results. However, what I really want is when the form is submitted a web page with frames to be generated (2 columns) and one of the frames to contain the results.
At the moment I have a servlet that generates the necessary frames web page when the form is submitted. In the html code one the frames SRC calls another servlet which I needs to process the html form data and return the results in that frame:
<FRAMESET COLS = "133,*">
<FRAME SRC="ProcessFormDataSevlet" NAME ="side_col">
<FRAME SRC="main.html" NAME="main">
</FRAMESET>
Problem: how do I redirect the form data from the first servlet, which generates the frames, to the second servlet that actually does the processing/returning results?
Many Thanks
 
Don't get me started about those stupid light bulbs.
 
subject: servlets and html forms.....