wood burning stoves*
The moose likes Struts and the fly likes Auto Register Struts Module Config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Auto Register Struts Module Config" Watch "Auto Register Struts Module Config" New topic
Author

Auto Register Struts Module Config

Abhi Grover
Greenhorn

Joined: May 10, 2004
Posts: 1
Hi! All,
I have a project that I am working on, that requires Struts development in modules. Now, I understand how to do this by specifying multiple struts-config.xml files in web.xml. However, my problem is that I am going to have a new module every now and then, and I would like to have a way to dynamically load the right struts-config.xml file, without changing the web.xml file. The reason is that everytime i will change the web.xml file I will have to redeploy the web-app.
An example of this i found in weblogic was the AutoRegisterActionServlet, which if i understood it correctly does the same thing. If anyone has played with that, it would be great if you can share your experiences.
Any help would be greatly appreciated.
Thanks
Abhi
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Auto Register Struts Module Config