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 :-
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
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
Check out the Filter Mapping, default Action extensions, and
Servlets section on this wiki page:
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 :-
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
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
7 matches
Mail list logo