> -----Original Message-----
> From: Angela Saval [mailto:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



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

Reply via email to