| response.setContentType("application/pdf");
  | response.setHeader( "Content-Disposition ", "inline;filename=myfile.pdf");
  | response.setHeader("Pragma", "public");
  | response.setHeader("Cache-Control", "max-age=0");
  | 

This works for me.

steve

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

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


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to