I am redirecting a jsp page to another jsp(is in another web application but both are in same web server).
While rediecting, I attached a value(it is encrypted) as query string.
On the other side, I am retrieving the encrypted value using request.getParameter().
But, it is getting as NULL.
Yes, how the URL query string is built is important. Namely, you must remember to encode all query string parameters. If you do not encode the parameters, then it is likely that you will run into problems. For example:
Also note that if you are redirecting to another application, then you will not be able to access the session attributes of the first application from the second application. It doesn't matter if they are on the same web server.