• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

regarding Server.xml

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

I want to know the ROLE of server.xml file in SERVLETS point of view.
please try to suggest to my problem.
 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi krishna!
I am sure this will serve your purpose.

http://www.indiawebdevelopers.com/technology/java/tomcat.asp
[ July 25, 2007: Message edited by: Akhilesh Trivedi ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The server.xml file does not have a role from the servlet's point of view.

It is the main configuration file for the Tomcat application server and is not part of the servlet specification.
It holds setting specific to Tomcat itself such as what ports to use, what connectors to use, the location and filename of any SSL certificates etc.

At one time it also held the <Context ..> entries for the individual applications (and still can) but those are usually configured in context fragment files.

The configuration file that does have a role from the servlet's point of view is the deployment descriptor (web.xml). To learn more about deployment descriptors, see the servlet specification (link in my signature).
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic