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.
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.
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.