struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pingili, Madhupal" <MPing...@BBandT.com>
Subject RE: global forward to tile definition does NOT work
Date Wed, 12 May 2004 21:08:22 GMT
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:mark.lowe@boxstuff.com]
> 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message