Re: default mapping with annotation

2009-01-08 Thread Daniel Woo
I think I probably always use explicit mapping in annotation or XML, and not using the wild card fall-back mapping. It won't be too much burden for me to explicitly do that and that's also less error-prone. Thanks a lot for your suggestion! Wes Wannemacher wrote: > > On Thu, 2009-01-08 at 21:09

Re: default mapping with annotation

2009-01-08 Thread Wes Wannemacher
On Thu, 2009-01-08 at 21:09 -0800, Daniel Woo wrote: > I am using Conventions since annotation is moved into Conventions in 2.1.2. > The problem is that I like explicit declaration of Action/URL/namespace etc > in annotations rather than implicit declaration provided by Convertion, only > for a fe

Re: default mapping with annotation

2009-01-08 Thread Daniel Woo
Wes Wannemacher wrote: > > I'm surprised this works, order is significant, so the wildcard would > match and look for _HelloWorld.jsp... But, since you indicate that it > does, I'm guessing in your struts.xml, you have the right order. > Yep, I have the right order in my struts.xml, this is a

Re: default mapping with annotation

2009-01-08 Thread Wes Wannemacher
On Thu, 2009-01-08 at 20:23 -0800, Daniel Woo wrote: > Hi guys, > > I have a default mapping, eg, > > Code: > > /_{1}.jsp > > > /HelloWorld.jsp > > I'm surprised this works, order is significant, so the wildcard would match and look for _HelloWorld.jsp... But, si