Hello,

be careful using filesystem directly. This piece of code will not work
if the unpackWARs="no". Use
getServletContext().getResource("/WEB-INF/jsp/test.jsp") == null
instead. This will work for both options: for unpacked WARs and
"packed" WARs.

PETR


On 3/23/06, Rapthor <[EMAIL PROTECTED]> wrote:
>
> It works! Thanks.
> --
> View this message in context: 
> http://www.nabble.com/Check-if-file-exists-in-WEB-INF-folder-t1329073.html#a3549945
> Sent from the Tomcat - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to