getHeader « Request « JSP-Servlet Q&A

1. i got the url value using request.getHeader("Referer"), How to get the parameter values?

I need to split out parameters given a URL string. I got the url value using request.getHeader("Referer") e.g.:

string rr=request.getHeader("Referer");
<%= rr %>
i got the url as Now I stored that url ...

3. request.getHeader("Referer")

My assumption was that originally the OP was using the value of the referrer to switch behavior on the target page. This is not a good way to do this even if the referrer value was reliable since it creates artificial binding between the pages. Now, I assume that the OP is passing an explicit parameter to cause the page to ...