struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Song" <>
Subject Struts 1.3.8 Plugins initializing twice
Date Thu, 03 Jan 2008 15:56:40 GMT
Hi all,


Struts 1.3.8


I have a single struts module and it seems as though my plugins are getting
loaded twice.  

This goes for the validator, tiles, and my own written plugins.


I've found out that if in the web.xml I do not specify a value for
<load-on-startup> then the ActionServlet is not initialized until it is
requested, and when it is requested it is initialized once.  




            <description>Struts Action Servlet</description>










However, if I add a value for <load-on-startup> it seems as though struts is
initialized twice as I can see that the validator and tiles plugins are
loaded twice.  The struts manual says that the framework should be loaded on
startup to ensure correct operation.




View raw message