struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raghu88 <tammi...@gmail.com>
Subject Re: Cannot forward after response has been committed...
Date Fri, 18 Jan 2013 11:27:22 GMT
Hi S S,

i am solved this problem by changeing return stream .hope this helps to you

File file=null;
file          = new File(path); 
return  FileStreamInfo object instead of ResourceStreamInfo  and  pass 
content type and File class object.
return  new  FileStreamInfo(contentType, file);




--
View this message in context: http://struts.1045723.n5.nabble.com/Cannot-forward-after-response-has-been-committed-tp5710573p5711664.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message