Use ServletContext.getRealPath("xyz"); to do this.
This assumes that xyz is a resource in your context
root
--- Jaume Pausas <[EMAIL PROTECTED]> 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/