So the answer to my problem was that I was using Annotation based
actions, and these do not pick up a custom interceptor-stack by default,
unless you place the @ParentPackage annotation on _each_ Action class,
like so:
@ParentPackage(value="ApplicantTracking")
where "ApplicantTracking" is the nam
tors apply
-Original Message-
From: Gamble, Wesley (WG10) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2008 3:03 PM
To: Struts Users Mailing List
Subject: RE: Custom interceptor not firing
I suspect that I don't have any interceptors firing at all. I can
change the value of "default
: Tuesday, June 10, 2008 2:00 PM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: Re: Custom interceptor not firing
Hi,
2008/6/10 Gamble, Wesley (WG10) <[EMAIL PROTECTED]>:
> As far as I can tell from looking at _Struts 2 in Action_, I
constructed
> my class correctly.
008 2:00 PM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Subject: Re: Custom interceptor not firing
Hi,
2008/6/10 Gamble, Wesley (WG10) <[EMAIL PROTECTED]>:
> As far as I can tell from looking at _Struts 2 in Action_, I
constructed
> my class correc
I suspect that I don't have any interceptors firing at all. I can
change the value of "default-interceptor-ref" to "xxx" or anything and
nothing happens either on application startup or on action invocation.
Here is the entirety of my struts.xml file:
http://struts.apache.org/dtds/struts-2.0.dtd"
Hi,
2008/6/10 Gamble, Wesley (WG10) <[EMAIL PROTECTED]>:
> As far as I can tell from looking at _Struts 2 in Action_, I constructed
> my class correctly. It is named "CompanyIdentificationInterceptor".
>
The name is not important, did you implement
com.opensymphony.xwork2.interceptor.Intercepto
6 matches
Mail list logo