aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Submit Button in JSP Page Scrolls Frame! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Submit Button in JSP Page Scrolls Frame!" Watch "Submit Button in JSP Page Scrolls Frame!" New topic
Author

Submit Button in JSP Page Scrolls Frame!

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1054
I have an HTML Form in a JSP page that does a submit in a three page HTML Frame. Each time the user clicks submit in the HTML form, the HTML form (that is the frame in the browser that has this HTML Form) scrolls down a pixel or two until it's off the screen at the bottom.
I've disabled the Java output to the JSP page above this HTML form, but this has no effect.
I've looked at the code in the frame, but scroll is set to NO.
Also, the meta-refreshes seem to multiply on each submit (more and more refreshes with each submit).
Clicking the Refresh on the browser's toolbar does fix these problems, but I don't know how to refresh the browser programmatically. Clicking the browser's refresh button gives you the dialog asking if you want to "resend the data". Hardly appropriate for a user to see.
Would apprecaiate any ideas?
Thanks.
-- Mike
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60979
    
  65

It doesn't seem to me that any of this has much to do with the fact that the pages are being generated via JSP. So I'm going to send this along to the HTML/Javascript forum where this could get more focused attention.
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Submit Button in JSP Page Scrolls Frame!