Sorry, I'm actually using the same technique for other errors. I wanted to
give a representative case but accidentally grabbed the 400 error definition
from struts-config.xml. The struts-config also contains:

    <action 
      type="org.apache.struts.actions.ForwardAction" 
      parameter=".error.404.page"       
      path="/error/404" />

Dan

> -----Original Message-----
> From: Susan Bradeen [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2003 12:25 PM
> To: Struts Users Mailing List
> Subject: Re: error pages, actions, and tiles
> 
> 
> First of all, unless they are email typos, you've got 404s 
> and 400s in 
> your definitions. Should the 400s be 404s?
> 
> Susan Bradeen
> 
> On 09/12/2003 11:41:49 AM Dan Snider wrote:
> 
> > Hello,
> > 
> > I am using Struts 1.1 and Tiles and I would like to forward 
> error-pages 
> to a
> > tile-composing action.
> > 
> > web.xml:
> > <error-page>
> > <error-code>404</error-code>
> > <location>/error/404.do</location>
> > </error-page>
> > 
> > struts-config.xml:
> > <action
> > type="org.apache.struts.actions.ForwardAction"
> > parameter=".error.400.page"
> > path="/error/400" />
> > 
> > From a user standpoint, it appears works but I now get the following
> > exceptions upon every request, valid or not.
> > 
> > ErrorDispatcherValve[localhost]: Exception Processing
> > ErrorPage[errorCode=404, location=/error/404.do] 
> java.net.SocketException:
> > Software caused connection abort: socket write error
> > ...
> > ErrorDispatcherValve[localhost]: Exception Processing
> > ErrorPage[errorCode=404, location=/error/404.do]
> > ErrorDispatcherValve[localhost]: Exception Processing
> > ErrorPage[errorCode=404, location=/error/404.do]
> > ...
> > java.net.SocketException: Software caused connection abort: 
> socket write
> > error
> > ...
> > java.net.SocketException: Software caused connection abort: 
> socket write
> > error
> > ...
> > 
> > Any ideas?
> > 
> > Thanks,
> > 
> > Dan
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to