aspose file tools*
The moose likes JSP and the fly likes how to open war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to open war file" Watch "how to open war file" New topic
Author

how to open war file

samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
i download the source code from professional jsp
it was a zipped file
in zip file there are jar files
can anyone tell me how to open war files so
that i can see the source code
thanking u
Baiju Varugese
Ranch Hand

Joined: Dec 16, 2003
Posts: 74
war/jar files can be opened with winzip itself, or use

jar -xvf filename.jar
[ August 16, 2005: Message edited by: Baiju Varugese ]

Measure twice cut once carpenter theory <br /> <br />Baiju <br />SCJCP, SCBCD, IBM-486, IBM-484, SCEA Part I
samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
thanks very much
baiju
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Also, many application servers (Tomcat for instance) will automatically unpack a war file and deploy the app as soon as it is dropped into a specific directory.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
hi ben
can u explain in detail how to use it automatically in tomcat server
how to deploy it directly???please tell
i m trying to put it in webapps but its not working
[ August 16, 2005: Message edited by: sandeep mittal ]
Baiju Varugese
Ranch Hand

Joined: Dec 16, 2003
Posts: 74
you can place the warfile to the <tomcat-installed-directory>/webapps folder this will work

or use the manager console to deploy the application, there u can select/upload the war file which u want to deploy
samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
thanks once again baiju and ben
its working now
mohan gavande
Ranch Hand

Joined: Oct 07, 2004
Posts: 39
Hi,
Also there r verious eclipse tools like WSAD, myEclipse tool in which u can directly import war file & also check the code. Its better understand the application
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61063
    
  66

mohan, JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.

I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.

Please read this for more information.

thanks,
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
Hi,
i am still using textpad . should i use eclipse for my
applications
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to open war file