thanks Harlamov..

i'm able to get the 2nd method with
<%= request.getQueryString()%>

how do i get getRequestURL(HttpServletRequest req) work?

for url myrefererpage.jsp?name=bill&age=25
what i'm trying to do is replacing query parameter age with
other value, i've tried appending &age=30, but when i retrieve the
value with request.getParameter("age"), it return 25, not 30..

is there any solution for this without parsing & replacing the query
string?
thank you in advance!

> Hello Dion,
>
> Just look at javax.servlet.http.HttpUtils.getRequestURL(HttpServletRequest req)
> and to javax.servlet.http.HttpServletRequest.getQueryString()
>
> --
> Best regards,
> Harlamov [EMAIL PROTECTED]


--
Best regards,
 dion                          mailto:[EMAIL PROTECTED]

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