In a Struts Action class, when trying to forward to an action other than the
current action, the action fails after executing and while forwarding to the
JSP, and an error message like the one below is generated in Tomcat.  

The switching/forwarding is being done like this, from an action other than
the one being forwarded to:

        return new ActionForward("/FWBatteryManage.sdo?method=view&id=" +
BeanUtils.getProperty(form, "id"));


Is this a reasonable/typical approach, or is there a more recommended way of
doing this sort of thing?

=======================================================


2003-02-07 15:26:46 - Ctx(/Windchill) : IOException in R( /Windchill +
/ext/nike
/clients/jsp/template/basicpage_template_pdmlink.jsp + null) -
java.net.SocketEx
ception: Connection aborted by peer: socket write error
        at java.net.SocketOutputStream.socketWrite(Native Method)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:91)
        at org.apache.tomcat.modules.server.Ajp13.send(Ajp13.java:841)
        at org.apache.tomcat.modules.server.Ajp13.doWrite(Ajp13.java:727)
        at
org.apache.tomcat.modules.server.Ajp13Response.doWrite(Ajp13Intercept
or.java:491)
        at
org.apache.tomcat.core.OutputBuffer.realWriteBytes(OutputBuffer.java:
188)
        at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:346)
        at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverte
r.java:234)
        at java.io.OutputStreamWriter.write(OutputStreamWriter.java:179)
        at
org.apache.tomcat.util.buf.WriteConvertor.write(C2BConverter.java:188
)
        at
org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:113
)
        at
org.apache.tomcat.core.OutputBuffer.realWriteChars(OutputBuffer.java:
336)


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

Reply via email to