Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I am developing a Web application using Struts. One of the pages
shows an interaction history together with an input form and
thus grows larger and larger along the user interaction.
When the modified page is displayed I want the browser window to
position on the form part rather than on the top part of the page
occupied by the history. I know that I can do this with an intra-page
link and Javascript. Is there a simpler way to do this in the Struts framework?
Hisao,
This definately sounds like a client-browser JavaScript thing, I’m not aware of any component in Struts that will automate this for you. It will be up to you to do this.
I’m sure you alread have a way to do this, but using anchor tags and JavaScript in your body’s onLoad event to change window.location to <currentPage>#<anchor name> might do the trick….