Thursday, July 9, 2009

This is the directory structure while deploying servlet on any servlet container

base directory/ (this is the name of your war file)
JSP files
image files
HTML files
CSS files
any subdirectories containing additional JSP, HTML, images, and CSS
WEB-INF/
struts-config.xml
web.xml
TLD files for various tag libraries
lib/ (various .jar files for libraries you used)
classes/ (compiled .class files for your actions and action forms)
META-INF/ (this is part of the .war file)
MANIFEST.MF (the manifest file from the .war file)

Underneath the classes directory you would have compiled code for forms and actions. For example:

com/
johnmunsch/
strutstest/
actions/
LoginAction.class
SearchAction.class
forms/
LoginForm.class
SearchForm.class

No comments:

Post a Comment