Re: default mapping with annotation

2009-01-08 Thread Daniel Woo
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

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

default mapping with annotation

2009-01-08 Thread Daniel Woo
Hi guys, I have a default mapping, eg, Code: /_{1}.jsp /HelloWorld.jsp In this case, if an action can not be matched it will be forwarded to /_{action name}.jsp, eg, /X.action will be forwarded to _X.jsp It works great, however if I remove XML configurations o