struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Domergue <sebastien.domer...@c-s.fr>
Subject Re: using apostrophes in a properties file with <s:text>
Date Wed, 05 Nov 2008 15:02:17 GMT
Hi,
in fact, in a property file you just have to double your apostrophe. For 
example :

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


Regards

Sébastien

Nick Maunder | Oathouse a écrit :
> 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
View raw message