If you do want this to work of osx and probably some other platforms, then you 
will also need the following line in the code


  | res.setHeader("Content-disposition", "attachment; filename=aFile.xls");
  | 

You may want to store the file name and return that in the above or try to map 
extensions to mime types. This would depend on its usage.

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to