hi,
I have a simple web application built with struts 2 - hibernate -
spring which uses mysql as backend.

My basic tile definition is like

<definition name="baseLayout" template="/common/baseLayout.jsp">
                <put-attribute name="title" value="Template" type="string"/>
                <put-attribute name="header" value="/common/header.jsp" />
                <put-attribute name="menu" value="/common/menu.jsp"/>
                <put-attribute name="body" value="/common/body.jsp" />
                <put-attribute name="footer" value="/common/footer.jsp" />
</definition>

which was working fine with hardcoded menus in /common/menu.jsp

Now I am getting all those menus from a separate action called
menuListAction. So, when I change the basic layout like

<definition name="baseLayout" template="/common/baseLayout.jsp">
                <put-attribute name="title" value="Template" type="string"/>
                <put-attribute name="header" value="/common/header.jsp" />
                <put-attribute name="menu" value="/menuListAction.action"/>
                <put-attribute name="body" value="/common/body.jsp" />
                <put-attribute name="footer" value="/common/footer.jsp" />
</definition>

I am seeing an error printed instead of menu. all the other parts of
layout is loaded without any issue.
The requested resource (/eghub/menuListAction.action) is not available

What I am doing - is that corrrect? Or which is the correct way of
establishing this?

Thanks all.

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to