RE: Real path of web application

2006-04-26 Thread Apache
Thanks alot! m2f Sent from www.TapestryForums.com Read this topic online here: <> http://www.tapestryforums.com/viewtopic.php?p=14736#14736 m2f

RE: Real path of web application

2006-04-25 Thread Apache
To do this You must inject WebContext object: And in code this object has method getRealPath which has same functionality like ServletContext.getRealPath() It is available in version 4.0.2 m2f Sent from www.TapestryForums.com Read this topic

Re: Real path of web application

2006-04-24 Thread Andreas Bulling
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 app

Real path of web application

2006-04-24 Thread Apache
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 m2f Sent from www.T