StreamingAddResource doesn't let me implement error page redirection. It flushes response buffer and if error happens after that
you can't forward to the error page. It seems the obly workable solution for serious application is server side state with no serialization.

On 5/22/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
Hi.

> Aleksei, how (and where) can the "lastModified" be set manually?
> Directly somewhere in the jar?

See
tomahawk-${version}.jar/org/apache/myfaces/renderkit/html/util/AddResources.properties.
Unpack the jar, correct the file and pack it back.

> I have tested earlier the server side and I know it is really much more
> faster, and no the client side state saving is not requirement - anyway
> I like idea of client side state saving, and will use it when possible...

The @lastModified@ problem is only relevant to the client-side caching of
resources like css, images or _javascript_ served by Tomahawk from the jar archives.

I personally use optimized server-side client state. I've an own-written state
manager which does no serialization at all.

Bye.
/lexi

Reply via email to