Re: namespace vs package

2010-12-27 Thread Dave Newton
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? M

Re: namespace vs package

2010-12-27 Thread Greg Akins
On Mon, Dec 27, 2010 at 1:05 PM, Dave Newton 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 h

Re: namespace vs package

2010-12-27 Thread Dave Newton
It *is* the default namespace, but almost always ends up being confusing at some point. The minimal namespace I recommend is "/". 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. D

Re: namespace vs package

2010-12-27 Thread Greg Akins
On Mon, Dec 27, 2010 at 11:21 AM, Maurizio Cucchiara wrote: > Did you try ParentPackage Annotation? > Also I'm not sure that empty string for namespace is the best value. No. I put them in the same package to get them working and figured I could experiment from there. I'm still a little confuse

Re: namespace vs package

2010-12-27 Thread Maurizio Cucchiara
Did you try ParentPackage Annotation? Also I'm not sure that empty string for namespace is the best value. Maurizio Cucchiara On Dec 27, 2010 4:12 PM, "Greg Akins" wrote: > Having trouble getting interceptors to work. I think it's because my > namespace and packages aren't aligned correctly. Usi

namespace vs package

2010-12-27 Thread Greg Akins
Having trouble getting interceptors to work. I think it's because my namespace and packages aren't aligned correctly. Using Convention plugin and when I start the app I get an error that ref-name can't be found. My interceptor is defined in struts.xml