On Mon, Dec 27, 2010 at 1:05 PM, Dave Newton <davelnew...@gmail.com> wrote:
> It *is* the default namespace, but almost always ends up being confusing at
> some point. The minimal namespace I recommend is "/".

OK.. that makes sense.

> There's no direct relationship between package and namespace other than a
> package has a namespace--I always figured it was to allow decoupling of
> paths and packages.

Here is what I'm having a tough time understanding.

Those Actions in sigmm.actions are in the default namespace; and are
in the a package by virtue of the <package name="" /> in the
struts.xml in which they're configured.

If I'm using the Convention plugin, is there a "default" package,
assuming I haven't used @ParentPackage or the
struts.convention.default.parent.package prop in struts.properties?

What I want to do, if it makes sense, is have an Action in
sigmm.actions.mobile and an interceptor class in sigmm.interceptors
I'd expect the actions in mobile to be in the /mobile namespace; think
they'd be in the sigmm.actions.mobile package and don't know what
package/namespace the Interceptor would be in (Other than the java
package sigmm.interceptors).

-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to