• 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

struts2: howto correctly deligate actions on the struts.xml's include files

 
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm a bit perplexed with the way the struts.xml is configured.

I have the following files:

struts.xml


the login-support is:


and the mailreader-supprt.xml



I have implemented a testing page with the UserLogin. It works just as I expected it to work.

problem is that I want to take advantage of the files that comprise the struts.xml and have all associated actionS in its own file. I wish to have the

UserLogin

from the mailreader-support in the login-supprt; but when I move it to the login-support it throws an exception (brings me to a different page). WHY?

thank you
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make a seperate xml file like this and try to compile
 
reply
    Bookmark Topic Watch Topic
  • New Topic