[ https://issues.apache.org/jira/browse/WW-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966524#comment-13966524 ]
Rene Gielen commented on WW-3952: --------------------------------- Two nice ideas coming to my mind: - show your students how to use RegExp validations, taking credit card number as example - show your students how to implement custom validators, which is fairly easy :) Re-applying the Struts 1 solution has the downside of introducing a fairly heavy new dependency (commons-validator). On the other hand, maybe some people find it useful to create an externally hosted Struts2 plugin for bridging commons-validator... > creditCard validator available in Struts 1 missing in Struts 2 > -------------------------------------------------------------- > > Key: WW-3952 > URL: https://issues.apache.org/jira/browse/WW-3952 > Project: Struts 2 > Issue Type: Improvement > Components: XML Validators > Affects Versions: 2.3.8 > Reporter: Daniel Le Berre > Fix For: 2.3.18 > > > Struts 1 has a creditCard validator. That validator does not exists in Struts > 2. > It would be nice to have also that validator in Struts 2 to allow an easier > migration from Struts 1 to Struts 2. -- This message was sent by Atlassian JIRA (v6.2#6252)