[S2] Struts.xml and Package tag

2008-09-11 Thread Roger
I have a struts.xml with two package tags. The first package is named package name=default extends=struts-default and contains my custom interceptor stack. The second package is named package name=secure extends=default so that my custom interceptor stack is available to actions in the secure

[S2] Struts.xml and Package tag (follow up)

2008-09-11 Thread Roger
String name = invocation.getProxy().getConfig().getPackageName(); returns the name secure for all actions regardless of the package the class is actually located in. If I now add a third package tag package name=empty extends=default that contains no actions at all, String name =

Re: [S2] Struts.xml and Package tag

2008-09-11 Thread stanlick
What package/class contains your String name = invocation.getProxy().getConfig().getPackageName(); On Thu, Sep 11, 2008 at 5:46 AM, Roger [EMAIL PROTECTED] wrote: I have a struts.xml with two package tags. The first package is named package name=default extends=struts-default and contains

Re: [S2] Struts.xml and Package tag

2008-09-11 Thread Roger
On Thursday 11 September 2008 21:37:58 [EMAIL PROTECTED] wrote: What package/class contains your String name = invocation.getProxy().getConfig().getPackageName(); The call to String name = invocation.getProxy().getConfig().getPackageName(); is made by an interceptor which is defined in the