I dont want the name "test" to be visible.How to hide it and send back to url(using sendRedirect()) method
K Kiran Kumar
Ranch Hand
Joined: Jan 04, 2006
Posts: 109
posted
0
Hi Sam, Instead of appending the variables in the URL, better save them in a session and retrieve the same when you need them. Here your privacy is maintained while redirecting. You can also use removeAttribute() method to delete the unwanted attributes. Regards, Kiran. [ May 27, 2008: Message edited by: K Kiran Kumar ]
rev sam
Greenhorn
Joined: May 26, 2008
Posts: 18
posted
0
we cannot use session here. we have some plan to access this url using webservices
cortin flaneir
Greenhorn
Joined: May 26, 2008
Posts: 13
posted
0
if you use servlet then set this value in servletcontext and then retrive value whenever you want.