This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, can anyone please tell me how to configured multiple application modules in struts framework? Can you tell me the directory structure of web application. How it is going to distinguish application modules with the help of request.
I am referring to the code snippet given in jakarta Struts by Oreilly
It's all done in the web.xml. Instead of listing only one struts-config file, you make one for each module. <init-param> <param-name>config</param-name> <param-value>WEB-INF/config/struts-config.xml</param-value> </init-param> <init-param> <param-name>config/module1</param-name> <param-value>WEB-INF/config/struts-config-module1.xml</param-value> </init-param> <init-param> <param-name>config/module2</param-name> <param-value>WEB-INF/config/struts-config-module2.xml</param-value> </init-param>
A good workman is known by his tools.
Joined: Aug 27, 2004
Hello Marc, What you have said is correct but what will be directory structure for diffrent modules?