I know that you can also write it with single slashes and it works :

<param-value>c:/tomcat/webapps/Root/JSPbook/Chap04/sounds</param-value>

Pascal-Eric Servais ( http://pages.infinit.net/denethor ) 
Cognicase ( division Web )
--- 
PGP Fingerprint : 8D0C FB66 CAF0 B9B3 E925� 8D2E 7BDB 1D47 DC0B 4AEA 
"Engagez-vous qu'ils disaient, vous allez voir du pays...",�Anonyme 



#> -----Original Message-----
#> From: William Brogden [mailto:[EMAIL PROTECTED]]
#> Sent: Tuesday, December 05, 2000 10:09 AM
#> To: [EMAIL PROTECTED]
#> Subject: Re: properties
#> 
#> 
#> 
#> 
#> Jon Skeet wrote:
#> > 
#> > [In web.xml]
#> > 
#> > > 
#> <param-value>c:\\tomcat\\webapps\\Root\\JSPbook\\Chap04\\soun
#> ds</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</pa
#> ram-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
#> 

Reply via email to