> > > <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?
>
> As I recall, thats the way Java writes a String like that when
> you do a Properties save( stream, header) method call.
Oh absolutely - but web.xml *isn't* a properties file - it's a text file
with XML escaping rather than properties escaping. Why would
Properties.save() come into it?
Jon