Skip to content

scarabeos/java-example-helloworld-war

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use?

  1. Download and run tomcat.
  2. Build war: build-war.sh
% ./build-war.sh
### Create helloworld.war file

Calling jar

added manifest
adding: index.jsp(in = 98675) (out= 74186)(deflated 24%)
adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
adding: WEB-INF/web.xml(in = 63) (out= 48)(deflated 23%)

Moving helloworld.war to dist/ with option --FORCE
mv: rename helloworld.war to dist/: No such file or directory
Done
  1. Copy war to webapps:
cp helloworld.war ../apache-tomcat-11.0.1/webapps/

4.http://localhost:8080/helloworld/

image

About

Example Hello World war-file for testing purposes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Shell 0.2%