Put a breakpoint in WicketFilter#doFilter() and if it stops there
twice then there is a second request. It could be a redirect but it
can be something like <img src="" /> which will make another request
to the current url.

On Mon, Apr 25, 2011 at 8:38 PM, Martin Makundi
<[email protected]> wrote:
> Hi!
>
> Sorry for being imprecise.. anyways, the stacktrace goes all through
> to onBeforeRender being called twice. Is this normal or due to some
> redirect?
>
> **
> Martin
>
> 2011/4/25 Martin Grigorov <[email protected]>:
>> onBeforRender has nothing to do with Servlet container's stack trace.
>>
>> On Mon, Apr 25, 2011 at 2:55 PM, Martin Makundi
>> <[email protected]> wrote:
>>> Hi!
>>>
>>> Is it ok that onBeforeRender is called twice (1.4.9):
>>>
>>> 1.
>>>        Server.handle(HttpConnection) line: 326
>>>        HttpConnection.handleRequest() line: 534
>>>        HttpConnection$RequestHandler.headerComplete() line: 864
>>>        HttpParser.parseNext() line: 539
>>>
>>>
>>> 2.
>>>        Server.handle(HttpConnection) line: 326
>>>        HttpConnection.handleRequest() line: 534
>>>        HttpConnection$RequestHandler.content(Buffer) line: 879
>>>        HttpParser.parseNext() line: 747
>>>        HttpParser.parseAvailable() line: 218
>>>        HttpConnection.handle() line: 404
>>>
>>>
>>> Is this normal ?
>>>
>>> **
>>> Martin
>>>
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

Reply via email to