Thanks for the explanation Phil,
I managed to transfer the values of the combo to another jsp page.
>2. If you asking how to get all the possible items of a form list
>(myform.mycombo), from which a client may select, you will need to >read
>and parse the form... not the request.
that is one of my requirements i have been working on and have discussed
this on the list too.
If your jsp/Servlet is intercepting a form for processing, prior to
>presenting the form to a client, the process is a little more complex than
> >just parsing a form -- the process changes (a jsp/Servlet would act as a
> >filter, capturing client request-response, sending them on to the process
> >that dynamically creates the form data, processing the response form data
> >from this process, and sending the processed response on to the client,
>probably implementing some tracking in the process).
My requirement is close, i guess.. I need to have a combo box which lets the
client select an option. This combo box is filled with values from a table
in the database.
what i am doing now is :
<! create a connection to the database and query it >
<select>
while (rs.next())
{
<option> <%=rs.getString(1)%> </option>
}
</select>
Is this the best way? what if the data in the table changes.. will it auto
refresh ? will it touch the database each time to fill the combo when the
page is loaded?
>If you want information on how to query and parse a form, let me know.
>Other>than this, more information on your design needs will be useful.
I would really appreciate it if u tell me more about parsing a form and when
i would do it.
thanks again
Vineet
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
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