Solved

use jbuilder to import a .war file??

Posted on 2004-08-19
5
392 Views
Last Modified: 2008-03-10
use jbuilder to import a .war file??
0
Comment
Question by:she1
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 11842522
import?

Huh?

You can unpack the war file, to get at the JSPs and CLASS files, but there will be no source code...

to unpack it, copy it to a new directory, and type:

  jar vxf file.war

or on Windows

  jar -vxf file.war

and it should unpack for you...  Or you can use winzip/fileroller/etc

:-)

Tim
0
 

Author Comment

by:she1
ID: 11848683
may i import the .war file in one time instead of import the .java or .jsp individually??
0
 
LVL 35

Accepted Solution

by:
TimYates earned 50 total points
ID: 11851461
>  may i import the .war file in one time instead of import the .java or .jsp individually??

There will be (almost 100% sure) NO ".java" files in the WAR file, just JSPs and JARs...  unless it's something like an example war that comes with struts...

extract the war file, create a blank project in JBuilder, create a blank jsp, copy all the jsps from the extracted war into the place where JBuilder puts the blank jsps delete the jsps

then add all of the JAR files onto your library path...

As for the CLASS files, you can jar them up and add that JAR onto your library path...  
0
 

Author Comment

by:she1
ID: 11857596
thanks, but i do know wsad can inport a .war file in one time.
do you know that?

thanks
0
 
LVL 35

Expert Comment

by:TimYates
ID: 11858352
No I didn't know that...

Doesn't that just import the war so you can run it in Websphere?

*shrug*

There is no such thing in JBuilder (afaik)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 82
MySQL  on Tomcat 8 43
SHA2 certs for IIS AND Java? 2 79
Tomcat: Unable to run tomcat service. 2 18
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now