Re: One Page Load Producing Three GETs

2007-11-03 Thread Dmitry Kandalov
On Saturday 03 November 2007 01:27:53 Devin Venable wrote:
> I've been trying to figure out why when I hit my wicket page, it loads
> three times.  I discovered this while debugging...my constructor was
> called three times for my derived WebPage.
>
> I've captured the call stack produced by the three calls.  (See below)
>  In my web browser I'm merely pasting the URL and pressing enter once.
>   It seems I'm getting three HTTP GETs.  Stranger still, this seems to
> be Firefox specific.  IE or WGET only create on GET.  

I've seen similar thing. Most likely that is firefox requesting the page 
several times because you spend some time on breakpoints.

Dima

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



Re: One Page Load Producing Three GETs

2007-11-02 Thread Martijn Dashorst
empty src attributes in img tags seem to cause this kind of problems.
Not sure if that is your case though.

Martijn

On 11/2/07, Devin Venable <[EMAIL PROTECTED]> wrote:
> I've been trying to figure out why when I hit my wicket page, it loads
> three times.  I discovered this while debugging...my constructor was
> called three times for my derived WebPage.
>
> I've captured the call stack produced by the three calls.  (See below)
>  In my web browser I'm merely pasting the URL and pressing enter once.
>   It seems I'm getting three HTTP GETs.  Stranger still, this seems to
> be Firefox specific.  IE or WGET only create on GET.  Using "Live HTTP
> Headers", the firefox plugin, I've verified that three GET requests
> are sent to the server.  By the way, this output appears in the java
> console and I haven't been able to track down the source that
> generates it.  I can't seem to reproduce this using non-wicket pages,
> which is why I'm posting here, just in case anyone has seen anything
> like it and has comment.  Any thoughts?
>
> 127.0.0.1 - - [02/Nov/2007:14:59:44 -0600] "GET
> /myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search
> HTTP/1.1" 200 28367 "http://localhost:8090/"; "Mozilla/5.0 (X11; U;
> Linux i686; en-US; rv:1.8.1.8) Gecko/20061201 Firefox/2.0.0.8
> (Ubuntu-feisty)" -
> 127.0.0.1 - - [02/Nov/2007:14:59:47 -0600] "GET
> /myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search
> HTTP/1.1" 200 16384
> "http://localhost:8090/myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search";
> "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20061201
> Firefox/2.0.0.8 (Ubuntu-feisty)" -
> 127.0.0.1 - - [02/Nov/2007:14:59:48 -0600] "GET
> /myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search
> HTTP/1.1" 200 28367 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.8.1.8) Gecko/20061201 Firefox/2.0.0.8 (Ubuntu-feisty)" -
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/

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



One Page Load Producing Three GETs

2007-11-02 Thread Devin Venable
I've been trying to figure out why when I hit my wicket page, it loads
three times.  I discovered this while debugging...my constructor was
called three times for my derived WebPage.

I've captured the call stack produced by the three calls.  (See below)
 In my web browser I'm merely pasting the URL and pressing enter once.
  It seems I'm getting three HTTP GETs.  Stranger still, this seems to
be Firefox specific.  IE or WGET only create on GET.  Using "Live HTTP
Headers", the firefox plugin, I've verified that three GET requests
are sent to the server.  By the way, this output appears in the java
console and I haven't been able to track down the source that
generates it.  I can't seem to reproduce this using non-wicket pages,
which is why I'm posting here, just in case anyone has seen anything
like it and has comment.  Any thoughts?

127.0.0.1 - - [02/Nov/2007:14:59:44 -0600] "GET
/myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search
HTTP/1.1" 200 28367 "http://localhost:8090/"; "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.8.1.8) Gecko/20061201 Firefox/2.0.0.8
(Ubuntu-feisty)" -
127.0.0.1 - - [02/Nov/2007:14:59:47 -0600] "GET
/myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search
HTTP/1.1" 200 16384
"http://localhost:8090/myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search";
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20061201
Firefox/2.0.0.8 (Ubuntu-feisty)" -
127.0.0.1 - - [02/Nov/2007:14:59:48 -0600] "GET
/myapp?pagemap=main&wicket:bookmarkablePage=mainframe:com.vetsource.web.wholesale.Pro_Search
HTTP/1.1" 200 28367 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.8.1.8) Gecko/20061201 Firefox/2.0.0.8 (Ubuntu-feisty)" -

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