Is there any way to encode parameters into a redirected response WITHOUT
just encoding them into the URL like this:
response.sendRedirect( /errorpage.jsp?errorcode=12 );
I'd like for it to be transparent to the user, using post, or some other
invisible method like the
request.setAttribute(
Is there any way to encode parameters into a redirected response WITHOUT
just encoding them into the URL like this:
- cookies
- session attributes
You could encode the data in a cookie, and retrieve it in your target page.
Alternatively, you could put the data into one or more session