Try the following:

@InjectObject("service:tapestry.globals.ServletContext")
public abstract ServletContext getServletContext();

[...]

String realPath = getServletContext().getRealPath("/");

Cheers,
  Andreas

On 24. Apr 2006 - 01:48:17, Apache wrote:
| Hi, how do I find out the absolute web application path? I had tried 
IRequestCycle.getAbsoluteURL("/") but it seems its 'absolute' does not refer to 
filesystem. Is there something like ServletContext.getRealPath("")?
| 
| Thanks,
| Stanly


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to