struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raghu88 <>
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:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message