Howdy,

>I've notice that in a filter I have that the content length is
>sometimes zero.  This never happens the first time a browser requests
>a particular page but will happen each time after that if the user
>hits "reload".  The browser just seems to reload from its own cache.
>The browser sends the request and the server must be saying that the
>content hasn't changed or something so it sends back a response with
>a length of zero.  If I do a shift+reload, the the response is as I
>would expect it.

You can verify that this is the behavior by overriding the
getLastModifiedTime() method in your servlet and adding some logging
statements.  Also check the request headers by enabling the
RequestDumperValve for the context.  You'll see that it's an
if-modified-since request...

Yoav Shapira
Millennium ChemInformatics

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

Reply via email to