Hi,

>             I have a problem using query string. I'm
> developing a servlet based application for my company.
> Here in one servlet i pass various values thru a
> hidden field. The values can be a candidate name like
> Srinivasan Kannan, Kapil Dev etc. I'm able to get this
> value in the other servlet thru
> request.getParameter(). In this page i have a link ( a
> href ) in which i have to pass these values to another
> page.

You might want to enclose the values of your hidden fields with " (double
quotes). Instead of:

<input type=hidden name=myname value=this is a value>

use

<input type="hidden" name="myname" value="this is a value">

cu
Heiko

===========================================================================
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://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