Thanks for the feedback, that is what I am currently doing. My understanding
is that this should work by specifying the tiles definition directly and
therefore bypassing yet another action configuration, if so I wanted to find
out what black magic was necessary for it to actually work. Is there a way
to do it? Or is the various documentation incorrect in this ability?

Thanks,

Keith

-----Original Message-----
From: Mark Lowe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 12, 2004 4:05 PM
To: Struts Users Mailing List
Subject: Re: global forward to tile definition does NOT work


Use an empty action.

<action path="/myaction" type="com.foo.struts.EmptyAction">
        <forward name="success" path="mytiledef" redirect="false" />
</action>

the action just needs to return this.
return (mapping.findForward("success"));

and you'll be there.


On 12 May 2004, at 22:58, Keith Bottner wrote:

> I am trying to forward directly to a tiles definition from the 
> <global-forwards> with
>
> # struts-config.xml
> <global-forwards>
>     <forward name="signon" path=".alt.signon" /> </global-forwards
>
>
> My JSP page uses:
> <html:link forward="signon">BLAH URL</html:link>
>
>
> However when the JSP is generated it actually generates
> <a href=".alt.signon">BLAH URL</a>
>
> Any ideas on why global-forwards to tile definitions do not work?
>
> Thanks in advance,
>
> Keith
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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


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

Reply via email to