Hai Preethi, Yes you do right. You need to submit the form values in the OnChange of the control and capture the values again and pass it in your query to fetch dynamic outputs.
Regards Elango Palani. ----- Original Message ----- From: Preethi B. <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 24, 2002 3:20 AM Subject: HI JSP > I have a HTML form, inwhich I have select list options, textarea, radio buttonset, etc. > > On selecting any form option(Onchange of the default options) by the user I want to populate the Querystring in the My Query information(using GETPARAMETER JSP call), displayed in the same form. I want to do that immediately their is a change in the form options(using onChange function ?) > > For eg. > > <FORM NAME="WEB_FORM" ACTION="webform.jsp" METHOD="post"> > <P/> > <B>HOST :</B> > <SELECT NAME="host" Onchange="query_info()"> > <OPTION Value="q2">q2.paq.av.com > <OPTION Value="q1">q1.paq.av.com > </SELECT> > <B>PORT :</B> > <INPUT TYPE="TEXT" MAXLENGTH="5" NAME="port" VALUE=""> > <B>Data Type</B>(dp)<BR> > <SELECT NAME="dp" Onchange="query_info()"> > <OPTION Value="HTML">HTML > <OPTION Value="xml">XML > </SELECT> > ... > My Query Options in the form: (populate the string with the values selected in the form) > </FORM> > > > Is this possible using JSP. Kindly point me how I can do , sample code to go ahead, I will be greatful. > > > Preethi > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
