You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Didier McGillis <co...@hotmail.com> on 2005/04/20 20:35:16 UTC

going nuts here

I want to see if an image exists I dont want red "x"'s
yet I cant seem to get the real path to check with File so is there another 
way.



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


Re: going nuts here

Posted by "Robert r. Sanders" <ro...@ipov.net>.
Try     ServletContext.getRealPath(relativePath)

Didier McGillis wrote:

> I want to see if an image exists I dont want red "x"'s
> yet I cant seem to get the real path to check with File so is there 
> another way.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

-- 
    Robert r. Sanders
    Chief Technologist
    iPOV
    (334) 821-5412
    www.ipov.net


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