Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

iframe problem not redirecting to another page

807569Aug 7 2006 — edited Aug 7 2006
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2006
Added on Aug 7 2006
6 comments
439 views