book_005fModify_jsp.java
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:15k
源码类别:
Jsp/Servlet
开发平台:
Java
- package org.apache.jsp;
- import javax.servlet.*;
- import javax.servlet.http.*;
- import javax.servlet.jsp.*;
- import java.sql.*;
- import com.dao.BookDAO;
- import com.dao.BookTypeDAO;
- import com.actionForm.BookForm;
- import com.actionForm.BookTypeForm;
- import com.dao.BookCaseDAO;
- import com.actionForm.BookCaseForm;
- import com.dao.PublishingDAO;
- import com.actionForm.PublishingForm;
- import java.util.*;
- import com.core.ChStr;
- import com.dao.ManagerDAO;
- import com.actionForm.ManagerForm;
- public final class book_005fModify_jsp extends org.apache.jasper.runtime.HttpJspBase
- implements org.apache.jasper.runtime.JspSourceDependent {
- private static java.util.Vector _jspx_dependants;
- static {
- _jspx_dependants = new java.util.Vector(2);
- _jspx_dependants.add("/navigation.jsp");
- _jspx_dependants.add("/copyright.jsp");
- }
- public java.util.List getDependants() {
- return _jspx_dependants;
- }
- public void _jspService(HttpServletRequest request, HttpServletResponse response)
- throws java.io.IOException, ServletException {
- JspFactory _jspxFactory = null;
- PageContext pageContext = null;
- HttpSession session = null;
- ServletContext application = null;
- ServletConfig config = null;
- JspWriter out = null;
- Object page = this;
- JspWriter _jspx_out = null;
- PageContext _jspx_page_context = null;
- try {
- _jspxFactory = JspFactory.getDefaultFactory();
- response.setContentType("text/html; charset=gb2312");
- pageContext = _jspxFactory.getPageContext(this, request, response,
- "", true, 8192, true);
- _jspx_page_context = pageContext;
- application = pageContext.getServletContext();
- config = pageContext.getServletConfig();
- session = pageContext.getSession();
- out = pageContext.getOut();
- _jspx_out = out;
- out.write("rnrnrnrnrnrnrnrnrnrn<html>rn");
- String str=null;
- BookTypeDAO bookTypeDAO=new BookTypeDAO();
- Collection coll_type=(Collection)bookTypeDAO.query(str);
- if(coll_type==null || coll_type.isEmpty()){
- out.println("<script>alert('璇峰厛褰曞叆鍥句功绫诲瀷淇℃伅!');history.back(-1);</script>");
- }else{
- Iterator it_type=coll_type.iterator();
- int typeID=0;
- String typename1="";
- BookCaseDAO bookcaseDAO=new BookCaseDAO();
- String str1=null;
- Collection coll_bookcase=(Collection)bookcaseDAO.query(str1);
- if(coll_bookcase==null || coll_bookcase.isEmpty()){
- out.println("<script>alert('璇峰厛褰曞叆涔︽灦淇℃伅!');history.back(-1);</script>");
- }else{
- Iterator it_bookcase=coll_bookcase.iterator();
- int bookcaseID=0;
- String bookcasename="";
- PublishingDAO pubDAO=new PublishingDAO();
- String str2=null;
- Collection coll_pub=(Collection)pubDAO.query(str2);
- if(coll_pub==null || coll_pub.isEmpty()){
- out.println("<script>alert('璇峰厛褰曞叆鍑虹増绀句俊鎭