To get the web application root in a Java Server Page (JSP), use the getRealPath method of the application class, as demonstrated in the example below:

Like this:
Be the first to like this post.
This entry was posted on May 16, 2010 at 2:26 am and is filed under Java, JSP . You can follow any responses to this entry through the RSS 2.0 feed
You can leave a response, or trackback from your own site.