• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

How to run servlet on Weblogic 6.0

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope this email finds you all in the best of spirits.
I have deployed a servlet successfully on weblogic 6.0, i had to edit web.xml file for this.
[resides in bea\wlserver\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF]
following is the code i editted:
now i want to deploy an application using more than one servlet, how to do that ?? should i write the above complete code for each servlet separately ??
Waiting for replies,
Saloon Keeper
Posts: 22989
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The web.xml file is actually a Sun spec, so this isn't just a WebLogic solution. I think you have a redundancy in your specimen, though.
There are two subsections that you address in the web.xml file. One defines the servlet - making a logical name, associating it with a class file, specifying initial servlet parameters. The other has to do with URL mapping, which simply takes the URL pattern and associates it with the previously-defined servlet logical name. You place as many of these subsections into your web.xml as needed to define servlet configurations and URL mappings.
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out my Javaone presentation on my website www.samjdalton.com. This contains a full outline of the process of web application deployment.
If this is a help please drop me a line
    Bookmark Topic Watch Topic
  • New Topic