On Mon, 04 Sep 2006 15:30:31 +0200, Daniel Bleisteiner <[email protected]> wrote:
I've successfully setup Struts by placing struts-config.xml and modifying web.xml directly in the magnolia main module. But I don't like this approach. So I'm trying to set it up using my allready working magnolia module. Therefor I've added the following inside module.xml:

<module>
        [...]
</module>

But this doesn't seem to load properly. My <html:link> tags are generated with the wrong hrefs missing the /do/ pathcomponent. So I assume Struts has not been loaded at all. I can't even call actions directly entering their URLs. The struts-config.xml is still placed directly inside the main magnolia module and should be accessible.

Any idea what's missing?

Never mind... my fault. I just realized that I need to change the version of my module to reinitialize it. Otherwise my added servlet definition has not been recognized and therefor ignored. The servlet is registered properly now and modifies the web.xml and asks for a restart of the webapp to get things started.

--
Daniel Bleisteiner
Development @ Luxoom GmbH, Chaussseestr. 8 E, 10115 Berlin, Germany

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to