aspose file tools*
The moose likes Websphere and the fly likes web.xml for WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "web.xml for WebSphere" Watch "web.xml for WebSphere" New topic
Author

web.xml for WebSphere

Bala Krishna
Ranch Hand

Joined: Jan 26, 2001
Posts: 95
Hi,
I know that we can deploy web applications in an instance of WAS applicaiton server, using AdminConsole, XMLConfig.sh or even WSCP. What I want to accomplish now, is to deploy a web application using the J2EE standard web.xml file. Is this possible? Has any one tried this? Thanks for all the help.
-Bala Krishna
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
What version of WebSphere are you working with? I'm assuming 3.5, right? If so, look in the admin console's "Wizards" menu for the WAR file wizard, which will take a standard Servlet 2.2 WAR file (containgin a web.xml) and deploy it.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Bala Krishna
Ranch Hand

Joined: Jan 26, 2001
Posts: 95
Kyle,
Thanks for the answer. Yes, we are using WAS 3.5.3. But, my problem is that I am not deploying the web application as a .war file. I want to deploy it as a directory structure. Is there anyway I can accomplish this?
-Bala
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
No. Either you meet the spec (which says you have a WAR file containing a web.xml file) or you don't.
Kyle
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml for WebSphere