tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: How do I access files above and below \web-inf folder?
Date Mon, 02 Dec 2002 09:32:59 GMT
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:tomcatuser@shaw.ca] 
> Sent: 2. desember 2002 07:45
> To: tomcat-user@jakarta.apache.org
> 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-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message