Pico is an Inversion of Control container available at http://picocontainer.codehaus.org. There have been several reports of integration between WebWork and Pico. As of WebWork 2.2, Pico integration is built in. To use Pico, you must first install the Pico Dependencies. Then, instead of using the normal filter dispatcher in web.xml that maps to /*, you simply need to use the class com.opensymphony.webwork.pico.PicoFilterDispatcher. For WebWork versions previous to 2.2, http://www.nanocontainer.org/NanoWar+WebWork contains information on integrating WebWork and Pico/Nano. |