DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20664>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20664 Servlets derived from ActionServlet, share default ModuleConfig Summary: Servlets derived from ActionServlet, share default ModuleConfig Product: Struts Version: 1.1 Beta 3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If I declare multiple ActionServlet descendants in my webapp web.xml, then I always get the struts-config.xml configuration for the one, which was loaded first. I found that ModuleConfig is fetched from ServletContext under the key Globals.MODULE_KEY. Because ActionServlet instance is shared -> default ModuleConfig is shared. I guess the same is true for modules, which belong to different servlets, but have the same name. I may be wrong and this behaviour could be the intention, but it brakes my project. Regards, Pavlin Zachariev --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]