First of all,
you should reconsider your design. Frames are antiquated and have been replaced with better CSS-driven layout mechanisms.
Secondly,
JSP will be of no help to you here. You'll need to implement any sort of automatic redirection after a timeout using JavaScript. Note that JavaScript can be disabled so you're new design will need to account for that.
I have moved this post to the HTML/JavaScript forum.