Mike Watson wrote:

BTW, if I want a controller to work in multiple namespaces do I need
to declare seperate packages in struts.xml instead of just relying on
the @Namespace annotation?

Thanks again for all your help.


Unfortunately when using Codeheind, you do have to create a new package for each namespace. The easiest way to do that is to extend your action and add a @Namespace for each subclass. It's wasteful but works.

The Convention Plugin that (eventually) supersedes Codeheind does include a @Namespaces() annotation.

Glad I could help!



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

Reply via email to