Hello,

I'm trying to access "home.Page" in tiles definitions using
DefinitionDispatcherAction.
I call <myapp>/home.do from browser and  receive the next error:
"Definition dispatcher action : can't get parameter 'home.Page'."

What am I doing wrong?


struts-config.xml:

<action path="/home"
   type="org.apache.struts.tiles.actions.DefinitionDispatcherAction"
   parameter="home.Page">
   <forward name="success" path="anything"/>
   <forward name="error" path="path.to.error.page"/>
</action>


tiles-defs.xml:

<definition name="home.Page" path="/layouts/classicLayout.jsp">
    <put name="title" value="WOS - Home page" />
    <put name="header" value="/header.jsp" />
    <put name="footer" value="/footer.jsp" />
    <put name="menu" value="/menuBody.jsp" />
  </definition>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to