Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

servlets and html forms.....

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
This looks like a job for .... legal tender! It says so right in this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic