2008/3/5, Paranoid_Fabio <[EMAIL PROTECTED]>: > > > Hello. I've a problem. > Apostrophe in resource files of my application does not appear. > > example: > > Property1=L'ID è sbagliato > > is showed (using <text> tag in the jsp page) as : LID è sbagliato
If you are using Struts 2, then the reason is that Struts 2 uses (correct me if I am wrong) MessageFormat to format messages from resource bundles. In MessageFormat, the apostrophe is used to delimit literal strings: http://java.sun.com/javase/6/docs/api/java/text/MessageFormat.html So the solution is simply to double the number of your apostrophes :-) Ciao Antonio