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
Hi!
Use ServletContext.getRealPath(xyz); to do this.
This assumes that xyz is a resource in your context
root
Is it possible to translate a relative path to its
absolute one in the web
pages under Tomcat 4.0b5?
hmm but I talking about static resources, calling from a web page