This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes how to retrieve the webapp directory without using ServletContex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to retrieve the webapp directory without using ServletContex" Watch "how to retrieve the webapp directory without using ServletContex" New topic
Author

how to retrieve the webapp directory without using ServletContex

Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
Hello all
i need to find out dynamically in which webapp directory my webapp running but , i can't use ServletContex for that (dont ask ...)
is there any way to find out ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to retrieve the webapp directory without using ServletContex
 
It's not a secret anymore!