Mar 30th, 2009, 04:46 AM
I'm trying to use Struts 1 on a Spring DM Server. I would like to create a Web Bundle (Module-Type: Web) using Struts as a regular OSGi (library) bundle.
I found lots of tutorials about integrating Struts and Spring (speaking about ContextLoaderPlugIn or DelegatingActionProxy), telling how to change the struts-config.xml.
But I assume that the Struts' ActionServlet has to be working in the first place (to be able to use the Struts config file). And it is not. Adding the ActionServlet in my web.xml makes the server unable to deploy my application (without throwing any error, to add some fun).
I'm new in both Spring and Struts worlds, so 3 questions :
- Is it ok to deploy Struts as an OSGi bundle, using it in a Web Bundle ?
- Am I totaly wrong about setting up the ActionServlet as in a regular web application (in web.xml) ?
- Do you know some basic tutorial explaining Struts integration *from the beginning*, for newbies ?
Hope I RTFM enough before posting for help.
Tags for this Thread