aspose file tools*
The moose likes JSP and the fly likes How to do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to do "Back to Top" link in footer.jsp" Watch "How to do "Back to Top" link in footer.jsp" New topic
Author

How to do "Back to Top" link in footer.jsp

David Wei
Greenhorn

Joined: Jan 04, 2002
Posts: 17
Hi,
In the jsp page where I have included header.jsp and footer.jsp, I am trying to add the link "Back to Top" in the footer.jsp. when I used the common code like:
<a href="#top">Back to top</a>
When I tested this jsp page in the browser, I found the link is changed to
<a href="footer.jsp#top">Back to top</a>
==> Can you give your suggestion? Thanks in advance.
David
Mark Stein
Ranch Hand

Joined: May 20, 2002
Posts: 75
If it's just html code outside a scriptlet that shouldn't happen. You don't by chance have a base ref set anywhere, do you?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to do "Back to Top" link in footer.jsp