bookcase_ok.jsp
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:1k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <html>
  3. <head>
  4. <title>操作成功!</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. </head>
  7. <body>
  8. <%int para=Integer.parseInt(request.getParameter("para"));
  9. switch(para){
  10. case 1:
  11. %>
  12. <script language="javascript">
  13. alert("书架信息添加成功!");
  14. //parent.window.location.href="bookCase.do?action=bookCaseQuery";
  15. opener.location.reload();
  16. window.close();
  17. </script>
  18. <% break;
  19. case 2:
  20. %>
  21. <script language="javascript">
  22. alert("书架信息修改成功!");
  23. opener.location.reload();
  24. window.close();
  25. </script>
  26. <% break;
  27. case 3:
  28. %>
  29. <script language="javascript">
  30. alert("书架信息删除成功!");
  31. window.location.href="bookCase.do?action=bookCaseQuery";
  32. </script>
  33. <% break;
  34. }
  35. %>
  36. </body>
  37. </html>