The problem that i am recently facing is something like,
I m having loginpage say login.jsp which i am getting after hitting /login at web.xml.
In the login.jsp there is two fields username and password and a submit button;
am giving un and pwd and pressing submit.It goes to LoginServlet with a parameter say status="".
Once i m submitting the form by clicking submit Where it interact with db and sendsback the response to Servlet the problem is the url is not changing it remains LoginServlet?param=status but comming back to the log,jspthrough a requestDispatcher
here the problem lies as the Url is not changing.