Forum Moderators: open
I have an internal web application, written in html, jsp, java servlets. Here's what I would like to accomplish. If a user links to another html page from the main html page, when they return to the main html page I would like to bring them to the area they were viewing before linking to the other page. Make sense? I'm sure you can use the anchor tag but I just wanted to see if there was any other way of doing this.
Thanks in advance.
Each section, on the main html page, is given a unique id (ie <a href='me.jsp' id='#me'>Visit Me</a> ).
me.jsp has two buttons; one to return home and one to save changes.
The return home button is coded as such:
<a href='home.jsp#me>
<imgsrc='image/returnHome.gif'border=0>
</a>
So when I return home, it automatically goes to the section with id=#me. This is also the same for the save button except it is performed in the java servlet.
Hope this makes sense. It has made my end users very happy with the new process.