This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: result-type name="tiles" & Struts.xml
It's not a secret anymore!