REST plugin and id params with dot's causes 404 not found

2009-01-14 Thread Joink
I'm using Struts 2.1.2 and the REST plugin. I have a controller that is used to provide user information, and this works like a charm as long as the id parameter doesn't contain a dot. Eg: /app/users/james works as expected. But when i try with /app/users/james.bond I get a 404 since Struts inter

Testing action validation in Struts 2.1.6

2009-01-27 Thread Joink
We have been unit testing our actions using a ActionValidatorManager. But in 2.1.6 the ActionValidatorManagerFactory has been removed. According to the docs this is still the way to test the action validation, but I guess they are just outdated: http://struts.apache.org/2.1.6/docs/how-do-i-unit-t