File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding WAR file

 
Renu Radhika
Ranch Hand
Posts: 243
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I am creating war file for a web application,jar file with .war extension should be created out of the say "BeerApp"or we have to create a jar file with .war extension of all the files under the the "BeerApp" and give the war name BeerApp.war?HFSJ and study kit explains these differently
 
Gowher Naik
Ranch Hand
Posts: 643
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create .war using jar tool as shown below
c:\tomatcat\webapps\BeerApp> jar -cvf BeerAppWar.war *.*
Above command creates BeerAppWar.war file of all contents present inside c:\tomatcat\webapps\BeerApp folder.
Copy war file inside tomcat\webapps folder.
Now application name is BeerAppWar.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic