permaculture playing cards*
The moose likes Struts and the fly likes struts2: howto correctly deligate actions on the struts.xml's include files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2: howto correctly deligate actions on the struts.xml Watch "struts2: howto correctly deligate actions on the struts.xml New topic
Author

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

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
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

Joined: Jun 28, 2007
Posts: 53
Make a seperate xml file like this and try to compile
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts2: howto correctly deligate actions on the struts.xml's include files
 
Similar Threads
struts2: what kicks in first- the interceptors or the form's validation?
struts.xml action tag
a4j is not defined
Jsp is not displaying in Struts2
Interceptor messes up action class in Struts2