I need to retrieve a value from a property file with a '$'
as part of the data. How do I decorate this character so
that the value will be loaded when I call
ResourceBundle.getString() ? I am not having much success
googling for it.
If its an XML file, then specify the enc
I didn't it was trial and error... I couldn't get \$ to work.
I had this problem in my realm configuration.
|)ave
-Original Message-
From: Robert Harper [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 1:18 PM
To: 'Tomcat Users List'
Subject: RE: special ch
I ended up finding that \$ would work too.
Where to I find a doc that explains all this?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I know on Tomcat 5.0.x I had to escape the '$' by doing '$$'
|)ave
-Original Message-
From: Robert Harper [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 12:14 PM
To: Tomcat Users
Subject: OT: special characters in property files
I need to retrieve a value from a property file
David,
I had this problem quite a few months back for the first time and was
not able to solve it... Untill It surfaced again last week.
The solution I used is fairly simple, here is my entry for this issue.
Let me know if it works.
Laurent
***
Description:
Webapp does
There should not be an '=' after the iso-8859-1.
What does echo $CATALINA_OPTS show?
Andy
-Original Message-
From: David Del Sacramento [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 15:27
To: Tomcat Users List
Subject: RE: Special characters
Thnaks Andy,
I did export CAT
someone posted an FAQ on this a while ago, if I remember correctly. check the archives.
- Original Message -
From: David Del Sacramento
To: Tomcat Users List
Sent: Thursday, June 12, 2003 5:13 PM
Subject: RE: Special characters
I proved that, but it isn't work :-(
A
someone posted an FAQ on this a while ago, if I remember correctly. check the archives.
- Original Message -
From: David Del Sacramento
To: Tomcat Users List
Sent: Thursday, June 12, 2003 5:13 PM
Subject: RE: Special characters
I proved that, but it isn't work :-(
David Del Sacramento
> [mailto:[EMAIL PROTECTED]
> Sent: 12 June 2003 16:27
> To: Tomcat Users List
> Subject: RE: Special characters
>
>
> Thnaks Andy,
>
> I did export CATALINA_OPTS, but I got the next
> error.
>
>
---
Just try
<%@ page contentType="text/html; charset=UTF-8"
%>
- it worked for me!
-Original Message-
From: David Del Sacramento [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 16:27
To: Tomcat Users List
Subject: RE: Special characters
Thnaks Andy,
I did export CATALINA_OPT
Thnaks Andy,
I did export CATALINA_OPTS, but I got the next error.
-
java.io.UnsupportedEncodingException: iso-8859-1=
at
sun.io.Converters.getConverterClass(Converters.java:107)
at
sun.io.Converters.newConverter(Converters.java:
You have to specify the file.encoding system property
export CATALINA_OPTS="-Dfile.encoding=iso-8859-1"
Then restart tomcat.
HTH,
Andy
-Original Message-
From: David Del Sacramento [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 15:04
To: [EMAIL PROTECTED]
Subject: Special characte
At 15:59 19.2.2003 +0100, you wrote:
I have changed Jserv to Tomcat.
I'm in trouble with special characters and I dont't know where is the
problem.
All the special characters that servlet writes to the web page are changed
by a '?' character.
I add the useUnicode & characterEncoding parameters o
At 03:59 PM 2/19/03 +0100, Carlos Godoy wrote:
>I have changed Jserv to Tomcat.
>I'm in trouble with special characters and I dont't know where is the
>problem.
>
>All the special characters that servlet writes to the web page are changed
>by a '?' character.
>
>I add the useUnicode & characterEnco
14 matches
Mail list logo