It's not a secret anymore!*
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
Author

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?

Thanks,
Earl
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: http://aspose.com/file-tools
 
subject: result-type name="tiles" & Struts.xml
 
Similar Threads
Using convention plugin with tiles type result.
Struts 2: error on adding <global-exception-mappings> tag to struts.xml
interceptor not working in struts 2
Problem with namespace in Struts 2
Tiles