struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <martin.coo...@tumbleweed.com>
Subject RE: anchor tags and struts
Date Thu, 01 Aug 2002 19:52:17 GMT


> -----Original Message-----
> From: Angela Saval [mailto:saval@marimba.com]
> Sent: Thursday, August 01, 2002 12:25 PM
> To: 'Struts Users Mailing List'
> Cc: Amber Chang
> Subject: RE: anchor tags and struts
> 
> 
> Thanks!
> I did have an anchor defined, however, the redirect had to be 
> set to true
> for it to work.

That's because the anchor has to exist in the URL the browser requests -
it's the browser that does the anchor navigation. If you try to put the
anchor on a <forward> (not redirecting), the browser will never see that.

--
Martin Cooper

> 
> 
> 
> -----Original Message-----
> From: James Mitchell [mailto:jmitchtx@telocity.com]
> Sent: Thursday, August 01, 2002 12:06 PM
> To: Struts Users Mailing List
> Subject: RE: anchor tags and struts
> 
> 
> Are you sure you have an anchor on the page by that name?
> 
> you might also try using redirect="true" so that the browser 
> resolves the
> url correctly.
> 
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://www.open-tools.org/struts-atlanta
> 
> 
> 
> 
> > -----Original Message-----
> > From: Angela Saval [mailto:saval@marimba.com]
> > Sent: Thursday, August 01, 2002 3:00 PM
> > To: 'Struts Users Mailing List'
> > Subject: anchor tags and struts
> >
> >
> >
> > I am having difficulty redirecting to a page with an anchor tag.
> > Has anyone
> > successfully done this.  Essentially, I want to define my forward as
> > follows.
> >
> > 	      <forward name="success"
> > path="/config/set_plugin.jsp#go_loc"/>
> >
> > However, go_loc is not the location it ends up going to in 
> the page.  It
> > always goes to the top.
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
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