You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael <mi...@idtect.com> on 2002/08/30 16:19:31 UTC

[Tiles] Error using controllerClass - says I need to extend Action but I am

When I try to use controllerClass:

  <definition name="plant_list"
              path="/jsp/status/plant_list.jsp"
 
controllerClass="com.idtect.oemserver.web.GetAllPlantsAction"
              >

I get this error:

[ServletException in:/jsp/layouts/default_layout.jsp] Controller of
class 'com.idtect.oemserver.web.GetAllPlantsAction' should implements
'Controller' or extends 'Action'' 

My controller class does extend TilesAction (which extends Action):

public final class GetAllPlantsAction extends TilesAction {
}

Am I doing something wrong?


Michael


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [Tiles] Error using controllerClass - says I need to extend Action but I am

Posted by Cedric Dumoulin <ce...@apache.org>.
  Hi,

  Do you have the full stack trace of the error ? This will help to 
understand what happen.

     Cedric

Michael wrote:

>When I try to use controllerClass:
>
>  <definition name="plant_list"
>              path="/jsp/status/plant_list.jsp"
> 
>controllerClass="com.idtect.oemserver.web.GetAllPlantsAction"
>              >
>
>I get this error:
>
>[ServletException in:/jsp/layouts/default_layout.jsp] Controller of
>class 'com.idtect.oemserver.web.GetAllPlantsAction' should implements
>'Controller' or extends 'Action'' 
>
>My controller class does extend TilesAction (which extends Action):
>
>public final class GetAllPlantsAction extends TilesAction {
>}
>
>Am I doing something wrong?
>
>
>Michael
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>