I just started a web app with login jsp and a servlet. When the login is successful, user should get a welcome message, other wise login page should be displayed with error message. This is working fine except for one small glitch.
my login URl is loclahost:8080/webApp/Login.jsp
when the servlet is forwarding, the url in the address bar is displayed as http://it-laptop2:8080/webApp/servlet/controlerservlet
insted of loclahost:8080/webApp/Login.jsp
Is this normal or am I doing something wrong?
I am using Tomcat 6 server and my servlet code looks like this.....