Link to home
Start Free TrialLog in
Avatar of bent27
bent27

asked on

is this a valid entry in a properties file

I get the following exception for my entry in the properties file

java.lang.IllegalArgumentException: can't parse argument number text-decoration: none;color: "#1D5F9F";
 at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
 at java.text.MessageFormat.applyPattern(MessageFormat.java:458)
 at java.text.MessageFormat.<init>(MessageFormat.java:368)


Any help is appreciated,
TIA
mail.html.Message=\
<html>\
<head>\
<style media="screen" type="text/css">\
a {\
    text-decoration: none;\
    color: "#1D5F9F";\
}\
a:hover {\
    text-decoration: underline;\
}\
</style>\
</head>\
</html>\

Open in new window

Avatar of yohrmm
yohrmm

I think it should be :
a
 {text-decoration: none; color: #1D5F9F;}
Avatar of Mick Barry
try escaping the =
Did you solve this ?
ASKER CERTIFIED SOLUTION
Avatar of bent27
bent27

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
why not just escape the equals?
Avatar of bent27

ASKER

I tried, it didnt seem to work!