• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to open war file

 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
war/jar files can be opened with winzip itself, or use

jar -xvf filename.jar
[ August 16, 2005: Message edited by: Baiju Varugese ]
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks very much
baiju
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks once again baiju and ben
its working now
 
mohan gavande
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am still using textpad . should i use eclipse for my
applications
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic