Hi,

I am trying to get tiles to work by using one action and forwarding to
multiple views.  However, I am getting the following error when I
request my action:

Exception in R( /myapp + /test.do + null) -
javax.servlet.ServletException: Can't find Tile context for
'com.phoenixcolor.jobstatus.struts.action.Test'. TilesAction subclasses
must be called from a Tile


My struts action is a TilesAction subclass and the config looks like
this:

    <action 
      path="/test"
      type="com.phoenixcolor.jobstatus.struts.action.Test">
      <forward name="success" path="/c-page"/>
      </action>

My tiles definition looks like this:

<tiles-definitions>
    <definition name="layout" path="/layout/layout.jsp">
        <put name="title" value="MY TEST"/>
        <put name="header" value="/navigation/header.jsp"/>
        <put name="body" value=""/>
    </definition>
    <definition name="c-page" extends="layout" path="/test.do">
        <put name="title" value="blah"/>
        <put name="body" value="/c-page.jsp"/>
    </definition>
</tiles-definitions>

Any ideas on how I can get this to work?

Thanks,
John

-- 
********************************
** John Thorhauer
** [EMAIL PROTECTED]
** take a look at:
**  http://www.zenplex.com
********************************



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

Reply via email to