Two error messages for validation on same attribute

2010-01-31 Thread Mittal, Nitin (US - Mumbai)
Hello, Is there a way to disable conversion failure error messages in struts 2 ? My Problem :- If the data is entered in the wrong format for a numeric field, the user sees two error messages on the page. For example:- '7032A' is entered for 'ZIP Code', following error messages will be seen :-

struts 2 and servlets, how to exclude servlet url patterns from struts filter

2010-01-31 Thread Jake Vang
i am using servlets (HttpServlet) and struts 2. my mapping in web.xml for the struts filter maps to the url pattern, /*. my servlet maps to something like this, /test. however, when i try to access my servlet, http://localhost:8080/myapp/test, i get the following message: There is no Action

Re: interceptor is not being called for all action

2010-01-31 Thread Leah OConnor
Thank you for posting your solution.  I aso read http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-XWorkpackages several times and do not see the connection.  I'm not sure I understand exactly what you did solved the problem, but it is clerarer than the documention  

Re: struts 2 and servlets, how to exclude servlet url patterns from struts filter

2010-01-31 Thread Greg Lindholm
Check out the Filter Mapping, default Action extensions, and Servlets section on this wiki page:

Two error messages for validation on same attribute

2010-01-31 Thread Mittal, Nitin (US - Mumbai)
Hello, Is there a way to disable conversion failure error messages in struts 2 ? My Problem :- If the data is entered in the wrong format for a numeric field, the user sees two error messages on the page. For example:- '7032A' is entered for 'ZIP Code', following error messages will be seen :-

Re: redirectAction not working

2010-01-31 Thread Paweł Wielgus
Hi Robby, some kind of a misspel or wrong case somewhere, or a situation where You have VerySimpleAction.java and verySimple.jsp which should be very-simple.jsp (in convention mode). Try to add new action and a result for it, if it will work, then look for changes between these two. Best

Property Tag and Parameters

2010-01-31 Thread RogerV
In a jsp page, I can let the action decide the CSS class of any given element by including class=s:property value=class/ which will return the value of the getClass() method in my action. I now want to do the same thing while iterating through a list using the s:iterator tag. I need to pass the