aspose file tools*
The moose likes Struts and the fly likes result-type name= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "result-type name="tiles" & Struts.xml" Watch "result-type name="tiles" & Struts.xml" New topic

result-type name="tiles" & Struts.xml

E Robb
Ranch Hand

Joined: Aug 27, 2010
Posts: 111
Im using multiple includes for my <struts> </struts> and putting the xml in the folder of the actions. I find it mildly irritating that in every struts.xml I have to include:

Is there any way to set this globally like in web.xml so I dont have to include it in every struts.xml?

Jesus Mireles
Ranch Hand

Joined: Mar 10, 2010
Posts: 122

instead of extending struts-default extend tiles-default in the struts.xml
E Robb
Ranch Hand

Joined: Aug 27, 2010
Posts: 111
Brilliant! Thanks works like a charm.
It is sorta covered in the JavaRanch Style Guide.
subject: result-type name="tiles" & Struts.xml