This content has been marked as final.
Show 2 replies
-
1. Re: How to access the deploy folder from inside my applicati
peterj Feb 28, 2008 12:00 PM (in response to pete007)The jboss.server.home.dir system property holds the location jboss_home/server/xxxx, where xxx is the configuration name.
-
2. Re: How to access the deploy folder from inside my applicati
pete007 Feb 28, 2008 1:33 PM (in response to pete007)That's what I was looking for, thank you.
Now I can use it this way:import org.jboss.system.server.ServerConfigLocator; .. private String imgFolderPath = ServerConfigLocator.locate().getServerHomeDir() + "/deploy/jboss-web.deployer/ROOT.war/images/";