struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Matic Langford" <>
Subject Getting a regular expression from
Date Wed, 24 Nov 2004 16:45:58 GMT
I have a regular expression for date formatting (don't ask!) in our This can
change depending on user locale. I am trying to get the following value


However in MessageResources at line 346: format = new

escape replaces ' with '', which means that my {'s and }'s don't get
escaped properly
and MessageFormat throws an IllegalArgumentException saying it can't
parse the expression.

Is there any way to persuade Struts not to do this escaping without
totally bypassing

I am using Struts 1.1 and cannot upgrade...



The information contained in this e-mail is intended only for the person
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
the use of this information or any disclosure, copying or distribution
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The views
expressed in this e-mail may not necessarily be the views of The PCMS
plc and should not be taken as authority to carry out any instruction

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message