Hello:

I am trying to declare an application wide error page
in my Struts 2 app.

I tried putting this in my web.xml:

  <error-page>
    <exception-type>java.lang.Exception</exception-type>
    <location>/error.action</location>
  </error-page>

And then created the error.action:
http://cbsweb.jammconsulting.com/cbsweb/error.action

But, when my app throws an error, the error page
does not come up.

Any ideas what went wrong?

Thanks,
        Neil


--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.


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

Reply via email to