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 few simple JSP files I want it to be mapped implicitly with a > wild-card in struts.xml. It seems that it's impossible to do that, I have to > either use implicit with Conventions suggested, or use explicit declaration > without "default mapping"
It's not necessarily either implicit with Conventions or explicit with XML... I mix the two all the time. The problem is really just the wildcard. Go ahead and map all the actions you want, either in XML or annotations. What I was suggesting is that you simply adopt the convention for default mappings for the actions you are trying to catch with your wildcard. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org