• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How do i integrate different modules

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic