You'll want a custom validator, which you can configure with an annotation.
Dave On May 11, 2011 4:39 AM, "Mohamed SIDI" <mhm.s...@gmail.com> wrote: > Hi all, > > I'm using struts2 annotation validation mecanisme, I have a problem with > credit card validation, I should develop my own annotation for this issue, > someone can help me to do that, or explain me the steps ? > > thanks > > -- > > > Cordialement > > Mohamed