Tiles / include

D

Daniel

I am using Tiles with Struts.

In Tiles, I have a common layout page which all other pages use. The common
layout page has an include at the top of the page. I have three other
sections in the page including a menu, the body, and the footer.

The problem I am having is that the include at the top of the page has
imports, taglib definitions, and Java objects that I need for the rest of
the page, including the part for the menu, body, and footer. However, when I
try to view those pages, I get an error because one or all of those
mini-sections (menu, body, footer) complains it cannot find an object or
something (the object was defined in the include file!).

Am I missing something?

Here's the common layout page:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top