not strictly struts ... but lots of smart guys here :)
String str = arg name=\minlength\ key=\${var:minlength}\ ;
MessageFormat mf = new MessageFormat(str);
throws error saying can't parse argument number var:minlength
how place literal curly brackets in String such that MessageFormat
From the java docs for MessageFormat:
Within a String, '' represents a single quote. A QuotedString can
contain arbitrary characters except single quotes; the surrounding
single quotes are removed. An UnquotedString can contain arbitrary
characters except single quotes and left curly
2 matches
Mail list logo