struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Maunder | Oathouse" <n...@oathouse.com>
Subject using apostrophes in a properties file with <s:text>
Date Wed, 05 Nov 2008 14:53:35 GMT
Hey guys 

 

can someone tell me quickly how to get an apostrophe to appear when using
s:text?

 

Here's a snippet of my properties file:

 

general.VettingNextUpdate=You won\'t be able to bid

 

as you can see I've tried with and without escaping the apostrophe
character.  How do I make the text appear as:

 

You won't be able to bid

 

?

 

Cheers

 

Nick Maunder


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