This content has been marked as final. Show 2 replies
The jboss.server.home.dir system property holds the location jboss_home/server/xxxx, where xxx is the configuration name.
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/";