This content has been marked as final.
Show 3 replies
-
1. Re: Absolute application path
damianharvey Sep 3, 2007 3:48 PM (in response to pdhaigh)check out the tip in this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101708 it'll give you a place to start.
Cheers,
Damian. -
2. Re: Absolute application path
pdhaigh Sep 4, 2007 6:41 AM (in response to pdhaigh)Does that only give you the path of the HTTP request though?
I am looking for the file system path of the files...
e.g. /etc/jboss/server/default/tmp/deploy/my.ear-contents/my-exp.war/ -
3. Re: Absolute application path
pmuir Sep 4, 2007 7:36 AM (in response to pdhaigh)Get hold of the URL of the view using Resources (or ResourceLoader in Seam2), and then you can just use standard Java methods to get the absolute path.