This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • 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
 
selvaraju sellamuthu
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make a seperate xml file like this and try to compile
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic