thanks William and Igor

Rama


Hoover, William wrote:
> 
> In your WebApplication...
> 
> getApplicationSettings().setPageExpiredErrorPage(PageExpiredErrorPage.class);
> getApplicationSettings().setAccessDeniedPage(AccessDeniedPage.class);
> getApplicationSettings().setInternalErrorPage(InternalErrorPage.class);
> 
> // show internal error page rather than default developer page
> getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE);
> 
> http://cwiki.apache.org/confluence/x/FyMB
> 
> -----Original Message-----
> From: Rama-o-Rama [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 16, 2008 1:23 PM
> To: [email protected]
> Subject: Re: How to handle Runtime Exception in wicket?
> 
> 
> 
> 
> 
> Rama-o-Rama wrote:
>> 
>> Hello,
>> 
>> I am trying to handle to the runtime exception in Wicket, by default in
>> the deployment mode it throws internal error.
>> 
>> I want to redirect it to my error.jsp on my WEB-INF folder.
>> 
>> this is what i am doing in my web.xml file
>> 
>> <error-page>
>>              <exception-type>java.lang.Exception</exception-type>
>>              <!-- Displays a stack trace -->
>>              <location>/error.jsp</location>
>>      </error-page>
>> 
>> 
>> Problem: I still the see the internal error page not the error.jsp page.
>> 
>> Thanks
>> Rama
>> 
> 
> 
> Still waiting for the reply
> 
> 
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-Runtime-Exception-Handling--tp14869906p14888029.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-Runtime-Exception-Handling--tp14869906p14908684.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to