use jbuilder to import a .war file??

use jbuilder to import a .war file??
she1Asked:
Who is Participating?
 
TimYatesConnect With a Mentor Commented:
>  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
 
TimYatesCommented:
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
 
she1Author Commented:
may i import the .war file in one time instead of import the .java or .jsp individually??
0
 
she1Author Commented:
thanks, but i do know wsad can inport a .war file in one time.
do you know that?

thanks
0
 
TimYatesCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.