java - Determine filesystem path of current JSP page -
Within a JSP page, I had to determine the current path of the page on the file system, for example:
I want to be able to copy / paste the same code to many JSPs and each page should be aware of its file system.
To reference other jsp pages (and for other utility methods for JSP), JSTL Use the library extremely convenient You can see the references to how to use it.
Comments
Post a Comment