webcontent

Possible to jsp:include a jsp from another package instead of from WebContent/jsp folder?

Due to a design decision, our project contains JSP files that include other JSP files like so: <jsp:include page="/jsp/controls/InputControl.jsp"/> These JSP files exist under the WebContent/jsp folder of the project. Is it possible to move the JSP files to another package (i.e. com.company.project.components.jsp) and include them fr...

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

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. I use Spring Framework, so solution should be possible to make in Spring. ...