Sunday, April 19, 2009

Try this out sometime..
Write a script that generate this war file automatically ...


* WebContent.
Regular Web files (HTML, JavaScript, CSS, JSP, images, etc.)
* WebContent/some-subdirectory
Web files in subdirectory.
* WebContent/WEB-INF
web.xml (used for servlet mappings)
* WebContent/WEB-INF/lib
JAR files specific to application.
* Java Resources: src
Unpackaged Java code.
* Java Resources: src/somePackage
Java code in somePackage package.
* Note:
You can cut/paste or drag/drop existing files into appropriate locations, but it is hard to drag files into default package until you create at least one class first.

No comments:

Post a Comment