You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by BOULAY Arnaud <ar...@renault.com> on 2003/06/06 17:55:10 UTC

Many ActionServlet

Hello !
I would like to define 2 sub-applications in a web.xml file (so 2 <servlet> tags with 2 ActionServlet inherited classes).

but it is said this in Struts user guide :

« WARNING - Struts will not operate correctly if you define more than one <servlet> element for a controller servlet, or a subclass of the standard controller servlet class. The controller servlet MUST be a web application wide singleton. » 

What is the real risk ?

In fact, this is for sharing the same directory tree for all my web apps : is it reliable ?

thanks in advance.
Arnaud



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org