Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

war files

Status
Not open for further replies.

iSeriesCodePoet

Programmer
Jan 11, 2001
1,373
US
How do you create them? Are they just JAR files with the extension changed? Mike Wills
AS400 Programmer
 
They are just jar files with a .war extension, special directory structure and deployment descriptor. You can create them using the jar utility.

Structure:
- All static html pages and any jsp pages go in the root directory of the war. This may include a full directory structure.
- A special Web Application Deployment Descriptor goes in a directory called WEB-INF, the file is name web.xml
- All Servlet and supporting classes (Javabeans, etc.) go in the WEB-INF\classes directory.
- All other classes including third-party tools go in the WEB-INF\lib directory. These can be jars.
 
You should post that to the FAQ. I am sure others will be asking the same questions. Mike Wills
AS400 Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top