Thank you all for usefull tips!

-- Tony

On Thu, Feb 12, 2009 at 1:51 AM, walnutmon <[email protected]> wrote:
>
>
> getApplicationSettings().setInternalErrorPage(UniversalErrorPage.class);
> getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE);
>
>
> Anton Veretennikov wrote:
>>
>> I don't have custom error page.
>> Link to image:
>> http://img3.imageshack.us/img3/2244/bb476f8ece2116133419587ba3.gif
>>
>> On Wed, Feb 11, 2009 at 10:22 PM, Igor Vaynberg <[email protected]>
>> wrote:
>>> your attachment got stripped, but i can imagine what it looks like.
>>>
>>> all runtime exceptions, wicket or not, are handled in the same way -
>>> redirect to the error page.
>>>
>>> do you have a custom error page? if you do - if your error page has an
>>> error then what you describe might happen.
>>>
>>> -igor
>>>
>>> On Wed, Feb 11, 2009 at 6:49 AM, Anton Veretennikov
>>> <[email protected]> wrote:
>>>> Igor,
>>>>
>>>> Excuse me, but I really don't understand.
>>>> I'm asking about how to show Wicket error page. I thought that
>>>> throwing WicketRuntimeException will result in showing it.
>>>>
>>>> But I get SERVER error page. I attached an image to clarify matters.
>>>>
>>>> And error below is seen in Tomcat output, not in Wicket error page:
>>>>
>>>> ERROR - WicketFilter               - closing the buffer error
>>>> java.lang.IllegalStateException: getOutputStream() has already been
>>>> called for this response
>>>> ....
>>>>
>>>> On Wed, Feb 11, 2009 at 5:20 AM, Marcelo Morales
>>>> <[email protected]> wrote:
>>>>> On Tue, Feb 10, 2009 at 5:00 PM, Igor Vaynberg
>>>>> <[email protected]> wrote:
>>>>>> the status code and the error page are orthogonal. you should still
>>>>>> see the standard error page, its just that it is returned with status
>>>>>> 500.
>>>>> ... with a proper browser (a cent)
>>>>> --
>>>>> Marcelo Morales
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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]
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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-to-handle-this-exception-properly-tp21929220p21959762.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]

Reply via email to