Originally posted by ramdas pradeep kumar:
hai malhar,
u mean the xml files in the config dir? can you explain me please.
i found the following in server.xml
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
The context is in server.xml indeed in the "conf" directory...
a segment from web.xml
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>
org.apache.catalina.servlets.DefaultServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
The web.xml in the WEB-INF directory...
The following should be your directory structure
-bin
-conf
|- server.xml
|- tomcat-users.xml
|- web.xml(x - This is on the web.xml, we hv to use...)
-...
-webapps
|- examples(Contains examples)
|- <context you define>
|- WEB-INF(inside your context)
|- web.xml(inside WEB-INF)
-...
hth
MB
[ September 19, 2003: Message edited by: Malhar Barai ]
[ September 19, 2003: Message edited by: Malhar Barai ]