• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlets and html forms.....

Pete Barr
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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">
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic