Apparently, my </html:base> tag was at fault.  Once I
removed this tag, Struts stopped playing with my
links.  The tag doc says that it handles relative
references on the page, but I'd say it's doing a bit
more than that.

Does anyone know _exactly_ what the </html:base> tag
does?


Thanks,
Joey

--- "David M. Karr" <[EMAIL PROTECTED]> wrote:
> >>>>> "Joey" == Joey Trevino <[EMAIL PROTECTED]>
> writes:
> 
>     Joey> Hi all,
>     Joey>    I'm trying to use a simple anchor tag
> to reference
>     Joey> a point within the same JSP:
> 
>     Joey>    <A HREF="#top" CLASS="redlink">Back to
> Top</A>
> 
>     Joey> But when Struts gets a hold of it, it
> inserts the JSP
>     Joey> page name into the link.  So it redraws
> the page
>     Joey> instead of just going to the internal
> link.  Is there
>     Joey> some way to keep Struts from doing this?
> 
> I might be misunderstanding something here, but what
> do you mean "when Struts
> get a hold of it"?  Do you mean when you change this
> to an "html:link" element?
> If so, why are you doing that?  If your anchor is to
> a page-internal link, I
> don't see much of a reason to use Struts for this. 
> Just use exactly what
> you've written here, an ordinary "a" element.
> 
> -- 
>
===================================================================
> David M. Karr          ; Java/J2EE/XML/Unix/C++
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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

Reply via email to