tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Anand <adi...@yahoo.com>
Subject Re: relative path to real one
Date Mon, 16 Jul 2001 15:24:30 GMT
Use ServletContext.getRealPath("xyz"); to do this.
This assumes that xyz is a resource in your context
root
--- Jaume Pausas <jpausas@excite.es> wrote:
> Hi!
> 
> Is it possible to translate a relative path to its
> absolute one in the web
> pages under Tomcat 4.0b5?
> 
> So if I have a context named "mycontext" and some
> day I decided to change
> its name to "myothercontext" how can I manage to
> perform any changes?
> 
> Thanks,
> JPausas
> 
> 
> 
> 
> 
>
_______________________________________________________
> ¡Tienes cuentas de e-mail GRATIS en Excite España!
> A tu disposición en http://correo.excite.es 
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message