You can do with it like that, and this is also possible (read that MS KB 
article)

1. Create a filter with this in doFilter:

res.setHeader("Cache-Control", "");
res.setHeader("Pragma", "");


2. Map filter to pdf's:

<filter-mapping>
        <filter-name>Cache-Control filter</filter-name>
        <url-pattern>*.pdf</url-pattern>
</filter-mapping>

And that's it ;). Works nice with jboss-3.2.6 (tc5). 


cheers,
Tomislav


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854264#3854264

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854264


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to