[jboss-user] [Beginners Corner] - get the current jboss deployment directory at runtime?

semteX do-not-reply at jboss.com
Fri May 23 06:31:31 EDT 2008


Hello.

3 months ago, i found  a thread in this forum, that solves my problem... but i've been searching for about an hour now but didn't find anything... so have to ask:

I need a way to get the current deployment path (absolute, not relative to jboss) of an J2EE WAR Application (exploded deployment). I'm using Jboss 4.2.1 on debian and windows (that's the reason why i can't and won't hardcode the path). The reason is, that i have to write files that should be readable from the outside.

Thanks
semteX

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152930#4152930

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152930



More information about the jboss-user mailing list