Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

war file

 
sihani rani
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

how do i extract war file...


where i give command to extract war file??








please reply,
thanks in advance
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WAR file is basically a ZIP file, same thing like JAR. You can use jar command in Java, unzip command in Linux, WinZip, 7-Zip, WinRAR, etc.
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4405
251
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you need to extract it?
 
sihani rani
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my project is in war format..i reopen that project in eclipse..

how can i open war file in eclipse??
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4405
251
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sihani rani wrote:my project is in war format

Did you mean the source?
 
Rahul Nair
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sihani rani wrote:my project is in war format..i reopen that project in eclipse..

how can i open war file in eclipse??


To open war file in Eclipse, you may import the war file to Eclipse through Import option from File Menu.
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure you can open a war file via eclipse as someone mentioned. A war file is basically a zip file with a .war extension. So, you can use any unzipping utility available to you to view its contents.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic