Skip to Content
0
Former Member
Dec 02, 2008 at 12:40 PM

Hide the parameters while redirecting using jsp:SendRedirect().

886 Views

Hi All,

I need to pass some parameters from a JSP page while Redirecting the page to some URL.

I coded as follows :

jsp:SendRedirect("url"?username="username"&password="+password);

It's redirecting to the specified url, but at the same time it is displaying the username and password along with the url.

How to hide this parameters disaplyed as a querystring with the url.

Regards,

Eben Joyson.