Yes, there's a default package, and its value is shown in the documentation for the Convention plugin IIRC (which I may very well not, and I'm struggling w/ limited Verizon connectivity on my Google CR-48 laptop at the moment.)
Dave (Like I how I just snuck in that part about the Google laptop? My geek cred shot up like maybe a thousand percent when that thing showed on my doorstep, so I gotta brag every now and then.) On Mon, Dec 27, 2010 at 1:11 PM, Greg Akins <angryg...@gmail.com> wrote: > 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 >