Why the "refresh" button works like that?
Hi, I set up a index.jsp, which includes two frames one is top.html for the picture and one is the main.jsp for log-in.
In the main.jsp:
<FORM METHOD=post action ="confirm.jsp" >
<input type=TEXT name=newName size = 20>
<input type=password name=newpass >
...
After the user put user name and passwd, the main.jsp will goto confirm.jsp and show some data. Now I find though it go to the confirm.jsp but in the browser address, it still shows that it is index.jsp and if I put the refresh button, it will come back to index.jsp. I need put the username and passwd again.
I think it may related to the frame I set up in the index.jsp but I am not sure. Thanks.
Below is the index.jsp code:
<html>
<frameset rows="35,*" frameborder="NO" border="0" framespacing="0">
<frame name="topFrame" scrolling="NO" resize src="top.html" marginheight="1" marginwidth="1" >
<frame name="mainFrame" src="main.jsp" frameborder="YES">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>

