aspose file tools*
The moose likes Struts and the fly likes How do i integrate different modules 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 "How do i integrate different modules " Watch "How do i integrate different modules " New topic
Author

How do i integrate different modules

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
hii

I have 5 modules on my project i want to integrate them how do i do that.
will i have to change anything in the paths given in the jsp pages.

my web.xml entry is

<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-hmsclass.xml,/WEB-INF/struts-Reg.xml,/WEB-INF/struts-Patient.xml</param-value>
</init-param>

now when an request goes out from a jsp page how will it know which config file to check..


I am getting this error i cant find the error here


javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
hi,

If you have more than one modules in your application and you want to give separate struts mapping files for that. put below mappings in your web.xml file.


Now you can write your admin related mappings in �struts-admin.xml�.


milan.


Milan.<br />I can because I think I can...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i integrate different modules
 
Similar Threads
Several questions on modules.
error while using 2 strut-config files for 2 modules.plz guide
Error:ActionMappings not found for second module
2 struts applications in 1 web.xml
using modules with JSPs behind web-inf