How can I get real path for file in my WebContent folder?

Posted by newbie on Stack Overflow See other posts from Stack Overflow or by newbie
Published on 2010-05-07T05:36:40Z Indexed on 2010/05/07 5:38 UTC
Read the original article Hit count: 215

Filed under:
|
|

I need to get real path for file in my WebContent directory, so that framework that I use can access that file. It only takes String file as attribute, so I need to get the real path to this file in WebContent directory.

© Stack Overflow or respective owner

Related posts about java

Related posts about webcontent