I´l like to show several imagens in the page using :

<div>
                <s:action name="showImage" executeResult="true" flush="false" 
></s:action>
</div>

showImage is a action with result type = stream

The following error message appears :

SEVERE: Could not execute action: //showImage
java.lang.IllegalStateException: getWriter() has already been called for
this response
        at
org.apache.catalina.connector.Response.getOutputStream(Response.java:573)
        at
org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:183)
        at
org.apache.struts2.dispatcher.StreamResult.doExecute(StreamResult.java:219)
        at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
        at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)


what´s the solution for that ?/



Herrera








-- 
View this message in context: 
http://www.nabble.com/error-to-render-image-with-action-tf4224558.html#a12017533
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to