I have learned, thanks to reading this list, that one cannot depend on the presence of the filesystem when developing a webapp, if that webapp is ever to be bundled as a WAR file.

I would like to structure my webapp thusly:

/webapp
|
jsp1.jsp
jsp2.jsp
jsp3.jsp
/includes <-- this is "/webapp/includes"
|
titlebar.jsp
navbar.jsp
footer.jsp
/WEB-INF
|
/classes
/lib

If I do this:

<%@ include file="includes/titlebar.jsp" %>

Will my webapp still work if it's bundled as a WAR file? Or is this a case of creating a dependency on the presence of the filesystem?


Thanks,

Erik


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to