So the browser cache isn't being used? You can set this in web.xml:
It's worth clearing the browser cache and checking the cache-control setting in the
response header using something like firebug/chrome dev tools.
I found that I had a write a filter to set cache-control settings because you
generally don't want to cache your .xhtml file as they contain dynamic content
but do want to cache static resources. It can get quite fiddly to get this
I think BalusC has an example of such a thing but I couldn't actually find it
when I had a quick look.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.