• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlets and html forms.....

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic