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]



Reply via email to