Provided Resources

Attributes

Attrubutes used in acornsnap. Attribute is the value which can be fetched by 'getAttribute' method in some object(ServletContext,HttpSession and HttpServletRequest). Attributes in 'Application scope' are initialized at the context is starting up by ApplicationListner. Other attributes are set arbitrarily.

Properties

Followings are the constants determining acornsnap. They are defined in 'WEB-INF/acornsnap.xml( dtd)'.

Files

Acornsnap requires and expects some files and folders to determine the behavior of context. In Eclipse(JEE), these are placed in WebContent folder.

vendors/
The files used commonly are placed here. For example JavaScript Libraries, icons of indicator and button images for Java are here.
WEB-INF/db/
Database difinition files(*.sql) are placed here. The files(named *.sql) are executed in alphabetic order when the context start up without database(equals to first boot). And it's important to remember that the entity of H2 Database (*.db files) are created here.
WEB-INF/layouts/
JSP files used as layout are placed here.
WEB-INF/layouts/acornsnap/
Layout files used by Acornsnap. You should NOT modify these files.
WEB-INF/views/
JSP files used as View(of MVC) are placed here.
WEB-INF/views/acornsnap/
View files used by Acornsnap. You should NOT modify these files.
WEB-INF/acornsnap.xml
Properties kept in acornsnap.properties attribute are written here.
WEB-INF/web.xml
Deployment discriptor. Acornsnap never uses it(because already registerd in ServletContailer(=Tomcat)'s web.xml). You can modify it freely.

Packages (on Java Source Codes)

Managed by LumberMill, Inc.