Re: default mapping with annotation

2009-01-08 Thread Daniel Woo
org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/default-mapping-with-annotation-tp21366005p21366866.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

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
thout "default mapping" -- View this message in context: http://www.nabble.com/default-mapping-with-annotation-tp21366005p21366353.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: default mapping with annotation

2009-01-08 Thread Wes Wannemacher
> It works great, however if I remove XML configurations of the action > HelloWorld, and use annotation with test.action.HelloWorld in code, then my > request to /HelloWorld.action goes to /_HelloWorld.jsp instead of class > test.action.HelloWorld. > > So how can I use the defau

default mapping with annotation

2009-01-08 Thread Daniel Woo
of the action HelloWorld, and use annotation with test.action.HelloWorld in code, then my request to /HelloWorld.action goes to /_HelloWorld.jsp instead of class test.action.HelloWorld. So how can I use the default mapping with annotation, and fall to default mapping only when no match in BOTH