How to find Web context root?

I do have a Project instance, a (web) Module instance and its JavaeeModuleProperties. I still can't figure how to find web context root. Any ideas?

2 comments
Comment actions Permalink

Try:

WebUtil.getWebModuleProperties(myModule).getWebRoots()

0
Comment actions Permalink

thanx, it works.

0

Please sign in to leave a comment.