You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Developer <de...@fdplus.com> on 2002/06/19 18:08:28 UTC
Re: org.apache.struts.tiles.actions.DefinitionDispatcherAction Experience
Hirsch, I haven't use DefinitionDispatcherAction yet but I suppose you
would need to use http://localhost:8080/learning/dynam.do?def=performThis
where performThis is some method in the DenfinitionDispatcherAction that
returns an ActionForward.
----- Original Message -----
From: "Hirsch Richard" <ri...@siemens.com>
To: <st...@jakarta.apache.org>
Sent: Wednesday, June 19, 2002 11:50 AM
Subject: org.apache.struts.tiles.actions.DefinitionDispatcherAction
Experience
> Hi,
>
> Has anyone tried using the
> "org.apache.struts.tiles.actions.DefinitionDispatcherAction". I having
some
> difficulty getting it to work. I know the tiles environment works,
because
> the "org.apache.struts.tiles.actions.NoOpAction" Action works. Here are
> the entries for struts_config.xml:
>
> <action path="/dynam"
> type="org.apache.struts.tiles.actions.DefinitionDispatcherAction"
> scope="request" parameter="def"/>
>
> <action path="/static"
> type="org.apache.struts.tiles.actions.NoOpAction">
> <forward name="success" path="aDef"/>
> </action>
>
> If I try the following URL: http://localhost:8080/learning/dynam.do?def I
> get the message: "Definition dispatcher action : can't get parameter
'def'".
>
> If I try the folloiwng URL:
> http://localhost:8080/learning/dynam.do?def=bodo, then I get an empty html
> page with html header/footer tags but with an empty body.
>
> Help?
>
> Thanks,
>
> D.
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>