Hi,

 

Characters from one language often carry more information than another (e.g.
Chinese vs. English). To express a word/phrase/sentence string, different
locale may need different string length. 

 

I was wondering if it is possible to have locale specific stringlength
validation using Struts' validation framework. The only approach I could
think of is checking the locale and string length in ActionSupport code and
output json block but I suppose this is not taking fully advantage of
Struts' validation framework. 

 

Am I right or is there any better way?

 

Many thanks in advance,

 

Qunhuan

 

Reply via email to