Monday, July 26, 2010

Understanding the comcat-users.xml file

Tomcat's user database realm uses the tomcat-users.xml file by defaut and reads the entire file into memory.

Every Servlet 2.4 web application must contain a web.xml deployment descriptor. This file must be placed in the WEB-INF directory of the web application.

However, Tomcat comes with a default web.xml in CATALINA_HOME/conf. This file is similar to a web application's web.xml file but is used to specify the default properties for all web applications that are running within this server instance.

No comments:

Post a Comment