This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deploying war file  RSS feed

 
sam liya
Ranch Hand
Posts: 1267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i made a my webroot folder to the war file using jar -cvf pets.war *.
now i need to know how to deployee the war file.
 
Ryan Beckett
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Place the war file in your webapps directory, restart the server, and the container will unpack it.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What server do you use? Is it tomcat? If so follow what ryan has said..
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ananth Chellathurai wrote:What server do you use? Is it tomcat? If so follow what ryan has said..

The WEB-INF directory is common to all servers , no matter which one is being used.
 
Mohamed Inayath
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit Ghorpade wrote:
Ananth Chellathurai wrote:What server do you use? Is it tomcat? If so follow what ryan has said..

The WEB-INF directory is common to all servers , no matter which one is being used.


WEB-INF directory could be same but do we have webapps directory within Weblogic/Oracle AS?

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!