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

.war query

 
Himanshu Bisht
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I made a web application and made a war file.
Now when it put my war file in the webapps directory and starts tomcat it unzips the war file and the whole application directorys are created.

I just wanted to know that is this normal war action or something wrong with my application as i find no use making a war if all the directoried are made again once i run the server.

Anybody can explain???
 
Chandra Sekhar
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is the normal behaviour..

With WAR files you can package all the resources of a Web application into a single(.war) file, which can be deployed to most standard Web application servers, including Tomcat.So deployement becomes easy

Chandrasekhar
 
Himanshu Bisht
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya thats very true but i was checking the tomcat webapps directory where i found that the war file has been unzipped and the files which i used to make war are again there.

What my query is that is this the normal behaviour of war file that it unzips itself after one deploys it in the server???

himanshu
 
Richard Bradford
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. This is normal behaviour.
 
Merlin Thomas
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What i think is that, its the web container which unzips the war file, otherwise war files are not extracted normally.

Regards
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic