Eg, go to your webapp's directory, and type "jar -cvf mywebapp.war *".
Tis not generally the way it is done, and people tend to use ant (a build tool) to create a war. This allows you to easily build your images, javascript files, jsp files, servlets etc into one war, from several different directorys.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.