Get the root dir of a web app
|
12-15-2010, 01:25 AM
Post: #1
|
|||
|
|||
Get the root dir of a web app
In a JSP
String path = application.getRealPath("/"); In a Servlet String path = getServletContext.getRealPath("/"); |
|||
« Next Oldest | Next Newest »
|