[jboss-user] [JBoss Seam] - how to download a file via Seam& JSF,

tyshan do-not-reply at jboss.com
Tue Nov 27 01:34:38 EST 2007


hi, 

I can upload a file successfully, but failed to download a file.

I get an exception that 

Servlet response already use stream, Writer not possible


and I use the codes

	HttpServletResponse res = (HttpServletResponse) javax.faces.context.FacesContext
				.getCurrentInstance().getExternalContext().getResponse();
		res.reset();


anyonce can help me?

Best regards

Tyshan


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

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



More information about the jboss-user mailing list