tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject WAR future-compatibility
Date Fri, 10 Jan 2003 17:16:46 GMT
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message