users@glassfish.java.net

Re: JSF2 on GlassFishV3 always send 304, how to resolve?

From: Ryan Lubke <ryan.lubke_at_oracle.com>
Date: Wed, 17 Nov 2010 21:41:11 -0800

On 11/17/10 7:38 PM, forums_at_java.net wrote:
> Hi!
>
> I use outputStylesheet and outputScript for some resources. But when I've
> made changes to the development project and want to redeploy in the
> production environment (upload the WAR to Glassfish admin console) the
> response code for the resources are 304 (not modified) which means
> that the
> browser wont pickup the changes before the caches are reset.

Make sure javax.faces.PROJECT_STAGE is Development, otherwise resources
are only checked for updates in 5 minute (?) intervals.

>
>
>
> Any ideas? I use JSF2 and Glassfish v3
>
> 
>
>
>
>
> --
>
> [Message sent by forum member 'didyhu']
>
> View Post: http://forums.java.net/node/719942
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>