I'm using
JSP together with
struts and I need to set up a user with a link with sensitive information in the query
string. So far I have not been able to find a way to encrypt the query string so the parameters are invisible encrypted to the user. I have tried this code with no success:
<%
String redirectURL = "http://someurl?name=param&id=3455";
response.sendRedirect(encodeRedirectUrl(redirectURL));
%>
I thought there may be a tag library or
java library that would accomplish this task, but I've been unsuccessful so far. Any thoughts?
Thanks.