I have a log in page accessed by: localhost/Security/Login.jsp
When I click a log in button,
doPost() method is executed from Login.java and displays the contents from main.jsp. However,its url on my browser is localhost/Security/Login.
Generally, the
pattern is the address of Login
servlet.
So if I click a button from main.jsp, error occurs because it is trying to locate a servlet from /Security/[Servlet name].
What I want is to change the url as I go to main.jsp to localhost/Home/main.jsp.
Is this possible?