Thanks alot!
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestryforums.com/viewtopic.php?p=14736#14736
m2f
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
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
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