Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Struts and the fly likes Multiple Inheritance in Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple Inheritance in Tiles" Watch "Multiple Inheritance in Tiles" New topic

Multiple Inheritance in Tiles

Subir Kumar Sinha

Joined: Mar 31, 2010
Posts: 2

Probably the answer to this question is no,but is it possible for a page to inherit for more than one layout JSPs in tiles?

Actually what I'm trying to achieve is this - I want to have more than one layout JSP file for the site for different styles. A set of pages will use one layout JSP and other sets will use other. I also have a javascript file that I want to include on all pages irrespective of what layout the pages use. I was thinking of including all global javascript imports in one parent layout JSP and other layout JSP to extend from this parent, so that global javascript files become available to all pages irrespective of what layout they follow. Is it possible to achieve or is there a better way to do this.

Subir Kumar Sinha

Joined: Mar 31, 2010
Posts: 2
Guys, if somebody has an idea please reply.
Have you tried LearnNowOnline?
subject: Multiple Inheritance in Tiles