just use getParameter instead.

for instance blah.jsp?status=Very%20Nice

then request.getParameter("status") == "Very Nice"

N



-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of pranav kumar
Sent: Monday, April 24, 2000 9:54 AM
To: [EMAIL PROTECTED]
Subject: problem with passing value througn query string


Hello Everybody,
                           My problem is about the value passing through the
querystring method.
      For Ex.
                  click on the following links
                  1. Very Good
                  2. Very Bad
                  3. Very Nice
Now what I want that when user click on any one of the above links then
value should pass to the next page (Like 'Very Good' or 'Very Nice' or '
Very Bad').
  On the next page I am using the getQueryString() method for getting the
value. But the problem is that I get the value Like ' Very%20Good'.
         Is there any method or way by which I can get the original value
without '%20' it means 'Very Good' . Please give some another solution
except Java String manipulations (like substring() etc.).
   Query String doesn't have a fixed format. It may contain any number of
spaces or '-' or any character.
Thanks in Advance.
With regards
Pranav

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

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

Reply via email to