|
Re:struts
Hi!
Your question has a very detailed and lengthy answer. Look up the links in the previous entry and go through them. As for the directory structure, here is a sample.
base directory/ (this is the name of your war file)
JSP files
image folder/image files
HTML files
CSS files (if you have multiple style-sheets you can create a folder)
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)
com/
package1/
strutstest/
actions/
LoginAction.class
SearchAction.class
forms/
LoginForm.class
SearchForm.class
META-INF/ (this is part of the .war file)
MANIFEST.MF (the manifest file from the .war file)
Also, if you work for a large organization, it is always better to find out from your lead or supervisor if there are any existing standards set by the organization for Web projects. For example, the company I work for, uses a different standard than the one above!
Hope you have fun with Struts!
|