aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Auto Register Struts Module Config
 
Similar Threads
Integrating JSP-Servlet APP with Struts APP
Integrating Struts with Spring Problem
Issue with multiple struts-config...
Can we use two struts-config.xml in one struts application
Getting values from properties in validate-using multiple message-resources in struts