• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding Server.xml

 
yekkala krishna
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • 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.
 
Akhilesh Trivedi
Ranch Hand
Posts: 1603
  • Mark post as helpful
  • send pies
  • 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 ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic