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!

JSP page isErrorPage attribue...not working

843838Feb 11 2007 — edited Feb 13 2007
hi..
i am new to java. i have this problem.
i have two jsp pages to take login info frm user.
1st jsp page to take input frm user &
2nd jsp page to throw my error msg in case of exception..
Now, in 1st jsp i have set errorPage="LoginError.jsp".

In LoginError.jsp, i have set
<%@ page isErrorPage="true" %>
But when i tried to throw exception to see if its workin,
eg.. i put wrong user id & pw then instead of running LoginError.jsp, I get "Page cannot be displayed" error in browser.

Is there something missing in deployment.. I am using J2EE 4 application server..
Please help..anyone..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 13 2007
Added on Feb 11 2007
3 comments
355 views