Hi...
things that come to mind...

What you mention as \web-inf is always uppercase WEB-INF (java is case sensitive).
The slash should be made with a java.io.File.seperator it's / in unix and \\ in 
windows. 
\web-inf will leave you with eb-inf as a single backslash \ is an escape char. 

Hope it helps
-reynir




> -----Original Message-----
> From: Peter Lee [mailto:[EMAIL PROTECTED]] 
> Sent: 2. desember 2002 07:45
> To: [EMAIL PROTECTED]
> Subject: How do I access files above and below \web-inf folder?
> 
> 
> How do I access files above and below \web-inf folder  from a 
> JSP/html file that is above 
> the \web-inf folder ? I am now using getRealpath() in my jsp 
> code, but it did not work. 
> Any ideas? I am stuck now..  
> Thanks 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to