All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.picocontainer.web.struts.package.html Maven / Gradle / Ivy






Integrates Struts with PicoContainer.  Uses Pico to inject dependencies into Struts actions.  This package is intended to be used in conjuntion with nano-servlet.  Use nano-servlet to configure component your actions depend on, and nano-struts will inject those dependencies into your Struts actions using constructor injection.  

To use with Struts 1.1, specify either the {@link org.picocontainer.web.struts.PicoRequestProcessor}, or if you are using the Tiles library, the {@link org.picocontainer.web.struts.PicoTilesRequestProcessor}, as the controller class in your Struts configuration file.

If you are using Struts 1.0, you can use the {@link org.picocontainer.web.struts.PicoActionServlet} instead. If you have your own request processor or action servlet class, you can use {@link org.picocontainer.web.struts.ActionFactory} in the processActionCreate method of your action servlet or request processor.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy