Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

How to Open another jsp page from jsp page

843840Aug 23 2007 — edited Aug 23 2007
Hi,

I am new to JSP. I need help to handle issue given below:

I have created one JSP Page for Login which contains Username and Password with a Submit Button. Once user inputs UserName and Password and Press Submit Button, It calls another JSP Page "Validate_login"

Validate_Login JSP does a JDBC call to Databse and validate User Name and Password. Now i want to open a "Employee.jsp" page if Username and Password matches with the one in database.

Pls advice what function or tag should i use to open this page in If (condition) true section.. I tried Window.open but it return back with error.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2007
Added on Aug 23 2007
4 comments
175 views