This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
just started migrating to Struts2 and the fact that I have to have all my Action-Validation.xml files in the same directory as my Action class is annoying the heck out of me. its so cluttered. is there any way to somehow store those validation files in a separate directory and configure struts to look for them there??
It actually *is* the case. It doesn't make any difference at all where they live on your source tree as long as they're *deployed* in the correct package hierarchy. What you've done in your non-working example does not contradict what I'm saying. For example, a Maven project would keep the validation files in src/main/resources/example/TestAction-validation.xml. It's the deployment and packaging that puts them on the classpath.
Joined: Aug 11, 2009
gotcha, makes sense thank you
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com