I have been trying to figure out how to link to a fragment within a JSP page.  I have 
a section of a long JSP page that contains estimated financials.  There's a button in 
that section to recalculate.  What I would like to do is process the recalc, return to 
that page, and scroll to that section.  In my JSP page, I coded the fragment as 
follows:

  <P><a name="estimates">Estimated Results</a></P>

If I were using straight HTML, I could get there using a link similar the following:

  myPage.html#estimates

I tried the corresponding JSP version in my Main.jsp page (similar to duke's pet 
store):

 <jsp:forward page='myPage.jsp#estimates' />

To my dismay, this does not work and gives an error saying the page does not exist 
(using just "myPage.jsp" works fine).  Does anyone know how to code the functionality 
that I am looking for -- basically scrolling to an anchored section in an HTML page???

Thanks in Advance,
Joe
-----
Founder
NextMark.com, Inc.
mailto:[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to