File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How to call WAR File using WSAD 5.1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to call WAR File using WSAD 5.1.1" Watch "How to call WAR File using WSAD 5.1.1" New topic
Author

How to call WAR File using WSAD 5.1.1

Ramesh Krishna
Greenhorn

Joined: May 17, 2004
Posts: 25
Hi
In WSAD5.1.1 , J2EE Project How to use war file .
Can I put that in /WEB-INF/lib? Tell me what r the ways to run the war file

Thanks in Advance
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Um ... WARs aren't run at all ---- they're deployed!


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

Ramesh,
To run (aka deploy) in WSAD, you need to create an enterprise application (EAR) project for your WAR to be part of. You probably have one already. You also need to create a server and add your EAR to the server.

Then just right click an HTML page and publish. Alternatively, start the server and go to the URL.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call WAR File using WSAD 5.1.1
 
Similar Threads
weblogic server
servlets
how to make a .war file
on war file
how to change the owner of the war file in tomcat?