那位能帮帮我jsp页面,给后台提交数据后,如果成功或不成功都有提示信息,显示几秒后自动消失.

解决方案 »

  1.   

    提交数据库后 弹出个页面<html>
    <head>
    <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
    <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
    <title></title>
    </head><body onload="window.setTimeout('window.close () ',2000)"> //2秒后页面关闭
         <form METHOD="POST" name="myFORM" action="">
                <table border="0" cellspacing="0" width="944" height="43" cellpadding="0">
                    <tr>
                          <td align="center" height="69" width="944"><img border="0" src="tupian/close.GIF"></td>信息显示
                    </tr>
                </table>
         </form>
    </body></HTML>