web.xml is part of tomcat structure
http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.htmlhttp://tomcat.apache.org/tomcat-5.5-doc/appdev/web.xml.txtunlike the declaration in the web.xml of standard tomcat for the control
servlet, ofbiz has there own and it looks for the controller in WEB-INF
This is where I put it since it is part of each webapp and is WEB-INF
used individually for each webapp.
<servlet>
<servlet-name>ControlServlet</servlet-name>
<display-name>ControlServlet</display-name>
<description>Main Control Servlet</description>
<servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>ControlServlet</servlet-name>
<url-pattern>/control/*</url-pattern>
</servlet-mapping>
Monisha sent the following on 8/12/2010 11:09 AM:
>
> I m Sorry !!
> There was a typing mistake.
> Actually I was asking Why controller.xml and web.xml are put in WEB-INF
> folder?