aspose file tools*
The moose likes Tomcat and the fly likes regarding Server.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "regarding Server.xml" Watch "regarding Server.xml" New topic
Author

regarding Server.xml

yekkala krishna
Ranch Hand

Joined: Mar 04, 2007
Posts: 105
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

Joined: Jun 22, 2005
Posts: 1527
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 ]

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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).


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: regarding Server.xml