File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Auto Register Struts Module Config

 
Abhi Grover
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic