• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using .war file

 
Sudd Ghosh
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use a war file for my webapp called "/webapp/chapter16". Do I need to create the war file from inside the "/webapp/chapter16" dir or from a level higher "/webapp/" dir? Also after the war file is created, do I need to place it inside the "chapter16" dir or outside ? What else do I need to do to get this running ?
Thanks
 
Sam Dalton
Author
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to drop your WAR file into the webapps directory.
Cheers
Sam
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You create the war in the chapter16 directory and name it chapter16.war. You can do a quick test and see if it was created properly using jar-tf chapter16.war. The list will show all the files in a the same structure that exists under chapter16 (But, not include the directory chapter16). Then placing it under webapp on Tomcat will do the trick.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic