hi friends,
            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.

Since i have a space between the name Srinivasan and
Kannan in my candidate's name it takes only Srinivasan
and leaves the rest of the name/values i'm passing.

Can anyone help me as to how should i pass name/value
with spaces in between the values in a query string.

I think i'm able to post my question correctly. An
example is

String sName = "Srinivasan Kannan";
String dd = "aaa bbb";


"http://srini/servlet/Test?one=sName&two=dd". I hope u
will understand my problem.

Thanks in advance friends

Srinivasan Kannan








__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.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://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