
i am using this code in my project
response.sendRedirect("LoginForm1.jsp?msg=Username or Password is incorrect!");
but i wan't to hide this message from url.please help me.
you gave me the response Hi Jamsiya
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.
,very thanks but i didn't get clearly give me one example

Please go through the following link:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.