Thanks..
Work fine...
[]'s
Rondnei Couto
Shing Hing Man escreveu:
You can inject javax.servlet.ServletContext into
your serivce (I presume you meant a Tapestry service).
The use
servletContext.getRealPath("/")
to retrieve the context path.
A how-to on injecting javax.servlet.ServletContext
into a tapestry service is at
http://lombok.demon.co.uk/tapestry4Demo/Inject.html
Shing
--- Rodnei Couto <[EMAIL PROTECTED]> wrote:
Hi list,
I'm creating a service. I need to know the context
path to get an image
used in my service. How can I discover this?
Thanks,
Rodnei Couto
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]