--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> use the pre-configured interceptor (from struts-default.xml)   
> <interceptor
> name="logger"
> class="com.opensymphony.xwork2.interceptor.LoggingInterceptor"/>and use it
> in your action class to catch exceptions<!-- prints out a message before
> any
> more interceptors continue and after they have finished -->
>  <action name="someAction" class="com.examples.SomeAction">
>      <interceptor-ref name="logger"/>
>      <interceptor-ref name="completeStack"/>M--

I'm not really sure how the logging interceptor is equivalent to the
declarative exception handling S2 offers, so I'll reiterate the original
suggestion of visiting the page at:

http://struts.apache.org/2.0.11/docs/exception-configuration.html

d.


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

Reply via email to