Hi

Is it possible for one servlet running and communicating with tree jsp
pages without
killing it in between? The problem is that the servelt is supposed to
connect to a
server and keep the connection through the 3 pages (with forms). Allready
in the
first page the servlet must pass important information to the page content.

Example :

The "_server_" i refer to in this example is not _any_ webserver, but any
kind of server containig
information you want to search through. (not local)

* The servlet is EXECUTED and connects to the _server_.
* The servlet is generating the first page with a form and and important
information from the _server_.
* User submit the form and the servlet get the parameters.
* Now the servlet will execute a search on the _server_ and return the
result(s).
* A new page will be displayed with the result(s).
* The user select one of the "hits" and the servlet get this information.
* The servlet get information about the hit from the _server_ and display it.
* Servlet disconnects the _server_ and get KILLED.

My main point is that the servlet is supposed to communicate and survive
through all the
form submissions. Then I don't have to make 2 or 3 separate servlets each
connecting the
_server_ at each step / form submission.

Any idea?

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to