In a jsp page, I can let the action decide the CSS class of any given element
by including 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
tag. I need to pass the parameter of the iterator value s
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 greetings
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 :-
.
Check out the "Filter Mapping, default Action extensions, and
Servlets" section on this wiki page:
http://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-FilterMapping%2CdefaultActionextension
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
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 mappe
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 :-
.
7 matches
Mail list logo