Andreas Schlegel wrote:
>
> Hi everyone,
>
> I still have a servlet that builds first a request form and after that a
> form showing the resultset. I tried to separate the code in two
> different servlets:
>
> 1) to show the request form and build the SQL string
> 2) to show the resultset
>
> My problem is how to start the servlet showing the result and how to
> bring the SQL string from servelt1 to servlet2?
> The user should click on submit to run servlet2.
The form created by servlet1 can be submitted to any servlet, not just back to
servlet1. Just have servlet1 create the form tag in the request form so that the
action is for servlet2.
K Mukhar
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html