velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Burlington <sean_tom...@uncertainty.org.uk>
Subject Re: anchors a' weigh, me boys
Date Wed, 20 Mar 2002 09:37:36 GMT
On Tuesday 19 March 2002 2:39 pm, Bruce Altner wrote:
> How would I point to a named anchor within an html page? For example, if I
> want to direct the browser to display the end of the page
> I'd create an anchor for it:
>
> <a name="bottom"></a>
>
> and call it with the # appended to the url:
> http://myserver.com/foobar.vm#bottom

the link is something the browser uses ..

but foobar.vm is a template used by your servlet internally

try http://myserver.com/<pathtoservlet>#bottom

> I've RTFM'd and tried this within a template by escaping the #,
> e.g.,  http://myserver.com/foobar.vm\#bottom but that doesn't work.
>
> This must be fairly simple. A hint would be appreciated.
>
> Thanks,
> Bruce

--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message