tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: properties
Date Tue, 05 Dec 2000 15:09:19 GMT


Jon Skeet wrote:
> 
> [In web.xml]
> 
> > <param-value>c:\\tomcat\\webapps\\Root\\JSPbook\\Chap04\\sounds</param-value>
> 
> Surely those backslashes don't need to be escaped, do they? XML doesn't
> care about \ and I don't believe Java itself does either.
> 
> If this were a properties file it would be a different matter, but I'm
> pretty sure you can just use
> 
> <param-value>c:\tomcat\webapps\Root\JSPbook\Chap04\sounds</param-value>
> 
> Anyone have more info?
> 
> Jon

As I recall, thats the way Java writes a String like that when
you do a Properties save( stream, header) method call.

-- 
WBB

Mime
View raw message