Standards for Naming Web
Resources
This document is a recommendation for naming web resources
that are referred to within an Ebase application, such as: static HTML pages,
images, JSPs etc. The intention is to introduce a system where entire
applications can be easily migrated from one system to another.
The file system will look like this:
+ <docroot>
+ shared
...... static HTML pages shared across projects
+ images
.....images shared across all projects
+ jsps
.....JSPs
shared across all projects
+ PROJ1
...... static HTML pages for PROJ1
+ images
.....images for PROJ1
+ jsps
.....JSPs
for PROJ1
A reference to image1.gif in PROJ1 is therefore PROJ1/images/image1.gif
A reference to shared JSP logo.jsp becomes shared/jsps/logo.jsp
Note that a leading forwardslash (/) should not be
used.