Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml for WebSphere

 
Bala Krishna
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bala Krishna
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Either you meet the spec (which says you have a WAR file containing a web.xml file) or you don't.
Kyle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic