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/";
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132965#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...