[ https://issues.apache.org/struts/browse/WW-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43338#action_43338 ]
Kedar Choudhary commented on WW-2093: ------------------------------------- In the sample application, the field myId is of type Integer, but validator used is "requiredstring". I guess that's bound to throw validation error. Use type="required". > Server validation not ok for a simple select list > ------------------------------------------------- > > Key: WW-2093 > URL: https://issues.apache.org/struts/browse/WW-2093 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.1.0 > Environment: Windows XP, TomCat 5.5, JDK 5 > Reporter: Leneveut Michaƫl > Fix For: 2.1.3 > > Attachments: Test.war > > > When validating a form containing a simple select list (<s:select/>) > required, the client validation passes, but the server validation failed not > seeing the select is well filled in. The strange thing is that it comes back > to the JSP with the choosed item selected, so it saved the user's selection, > but not validated it. > Have a look at the sample application attached (runs on TomCat 5.5, JDK 5) > This appends in the last version of SVN (06 Aug 07) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.