reader_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. window.location.href="reader.do?action=readerQuery";
  15. </script>
  16. <% break;
  17. case 2:
  18. %>
  19. <script language="javascript">
  20. alert("读者信息修改成功!");
  21. window.location.href="reader.do?action=readerQuery";
  22. </script>
  23. <% break;
  24. case 3:
  25. %>
  26. <script language="javascript">
  27. alert("读者信息删除成功!");
  28. window.location.href="reader.do?action=readerQuery";
  29. </script>
  30. <% break;
  31. }
  32. %>
  33. </body>
  34. </html>