When i am trying to redirect a page thru jsp:forward tag, it changes only the page content not the url.
i.e., from employe.jsp page i'm forwording to <jsp:forward page="employeevalidate.jsp> now it is showing the content of employeevalidate.jsp, but in top url the previos employee.jsp remains.
Please help me.
send your reply at email@example.com
is the forwarded page is used in frame? If it is, then the url will remain. <jsp:forward> will change the url without using <frame>
You are getting confused between a redirect and a forward. A redirect will tell the browser to submit a new request to a different URL. A forward passes the request internally to another JSP page.