struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <cedric.dumou...@lifl.fr>
Subject Re: org.apache.struts.tiles.actions.DefinitionDispatcherAction Experience
Date Wed, 19 Jun 2002 16:00:59 GMT

  Hello,

  What is the definition for "bodo" ? It seems there is a problem with this part
rather than with the dispatcher. Try to access "bodo" through your static action
to see what happen (replace "aDef" by "bodo").
  The right URL should be the second one.

   Hope this help,
       Cedric

Hirsch Richard wrote:

> 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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message