------------
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>
>>>
>>> ---
-
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>
>> -
>> To
The problem is that you are calling getResponse().getOutputStream(), which
invokes getOutputSteam from the http servlet response. After handling your
request, Wicket calls getWriter from the same response. From the
ServletResponse.getOutputStream Javadoc:
"Either this method or
getWritermay
be cal
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 wrote:
> your attachment got stripped, but i can imagine what it looks like.
>
> all runtime exceptions, wicket or not, are handled in
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, Fe
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 e
On Tue, Feb 10, 2009 at 5:00 PM, Igor Vaynberg 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
---
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.
-igor
On Tue, Feb 10, 2009 at 9:46 AM, Anton Veretennikov
wrote:
> How to get standart Error page then instead of this error?
>
>> considering 5xx codes
How to get standart Error page then instead of this error?
> considering 5xx codes are server-related failures i would say it is correct.
>
> -igor
>
> On Tue, Feb 10, 2009 at 9:03 AM, Anton Veretennikov
> wrote:
>> I get it.
>>
>> On Wed, Feb 11, 2009 at 12:01 AM, Igor Vaynberg
>> wrote:
>>> d
considering 5xx codes are server-related failures i would say it is correct.
-igor
On Tue, Feb 10, 2009 at 9:03 AM, Anton Veretennikov
wrote:
> I get it.
>
> On Wed, Feb 11, 2009 at 12:01 AM, Igor Vaynberg
> wrote:
>> do you get 500 or do you not?
>>
>> -igor
>>
>> On Tue, Feb 10, 2009 at 8:57
I get it.
On Wed, Feb 11, 2009 at 12:01 AM, Igor Vaynberg wrote:
> do you get 500 or do you not?
>
> -igor
>
> On Tue, Feb 10, 2009 at 8:57 AM, Anton Veretennikov
> wrote:
>>> should be fine, you can throw any kind of runtime exception you want.
>>>
>>> -igor
>>
>> Igor, thank you for answer.
>>
do you get 500 or do you not?
-igor
On Tue, Feb 10, 2009 at 8:57 AM, Anton Veretennikov
wrote:
>> should be fine, you can throw any kind of runtime exception you want.
>>
>> -igor
>
> Igor, thank you for answer.
>
> Did you mean that "HTTP Status 500 error" I get is not what it must be?
> It's a
> should be fine, you can throw any kind of runtime exception you want.
>
> -igor
Igor, thank you for answer.
Did you mean that "HTTP Status 500 error" I get is not what it must be?
It's a bug or what? I can make jira if it is so.
-- Tony
> On Mon, Feb 9, 2009 at 11:57 PM, Anton Veretennikov
>
should be fine, you can throw any kind of runtime exception you want.
-igor
On Mon, Feb 9, 2009 at 11:57 PM, Anton Veretennikov
wrote:
> Hello, all wicket users!
>
> I receive HTTP Status 500 error in this situation:
>
> I have a page with empty html-file and page's onRender() looks like:
>
>
Hello, all wicket users!
I receive HTTP Status 500 error in this situation:
I have a page with empty html-file and page's onRender() looks like:
OutputStreamWriter writer = null;
try {
writer = new OutputStreamWriter(getResponse().getOutputStream(),
encoding);
String enc = ge
15 matches
Mail list logo