Hi All,
I am using iframe (<iframe src="\a2\login.jsp">)in my login.jsp page.
login.jsp is a login page. When I enter username and password and submit the form it doesn't redirect to another page. Instead of this it shows the same page.
But if I use response.sendRedirect in login.jsp instead of iframe it redirect to another page.
The problem is in iframe that restrict to redirect to another page.
action of the form (form action="\LoginServlet") is
servlet that redirect to another page.
where I am going wrong.
Anybody please answer.
Thanks