File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: result-type name="tiles" & Struts.xml
It's not a secret anymore!