Here is one possibility that comes to mind. Deploy your app exploded (). With 
the exploded directory, have a directory (for example, csv) and place the 
generated file there, then generate a web page with a link to the generated 
file: csv/tempfilename.csv. The user clicks the link to get the file.

Another possibility is to, within your servlet, change the content type on the 
ServletResponse to be "text/plain" (not sure if "text/csv" is valid, you could 
try it) and set the response content to be the csv file contents.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068873
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to