Your problem is due to using a JSP. Between the JSP "directives" you have CRLF 
that is send to the client, that is, between <%@ page import="java.io.File, 
  | java.io.InputStream, 
  | java.io.FileInputStream, 
  | java.io.OutputStream"%> 
  |  and <%@ page session="false" %> you have a CRLF, as well as in other 
places... You could take them off, but you will get one CRLF (the last one)... 
So it's not a good practice to download files through JSP; better use a Servlet 
or you will get corrupted data most of the times.

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

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

Reply via email to