You don't even have to give type="xxx.xxx.xx".
Just use this syntax: 
<action path="/viewHeading" forward=".search.mainLayout">
    </action>

Above works well for me.

---
Reddy

> -----Original Message-----
> From: Mark Lowe [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 5: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