1
源代码在线查看: jsp1_0002ejsp_jsp.java
软件大小: |
949 K |
上传用户: |
pangyi |
|
|
关键词: |
|
下载地址: |
免注册下载 普通下载
|
|
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.sql.*;
public class jsp1_0002ejsp_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n\r\n");
out.write("\r\n ");
if(session.getAttribute("userid")== null || session.getAttribute("userid").equals(""))
{
response.sendRedirect("index.jsp");
}
out.write("\r\n");
JspRuntimeLibrary.include(request, response, "head.jsp", out, true);
out.write("");
out.write("");
out.write("");
out.write("\r\n");
out.write("\r\n ");
out.write("\r\n ");
out.write("\r\n 新增部门资料\r\n ");
out.write("\r\n ");
out.write("\r\n ");
out.write("");
out.write("部门名称:");
out.write("");
out.write("\r\n ");
out.write("");
out.write("");
out.write("\r\n ");
out.write("\r\n ");
out.write("\r\n ");
out.write("");
out.write("\r\n ");
out.write("\r\n ");
out.write("");
out.write("\r\n ");
out.write("\r\n ");
out.write("\r\n");
out.write("\r\n");
JspRuntimeLibrary.include(request, response, "bottom.jsp", out, true);
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\nfunction check()\r\n{\r\n\tif(form1.depName.value==\"\")\r\n\t{\r\n\t\talert(\"请输入部门名称\");\r\n\t\tform1.depName.focus();\r\n\t\treturn false;\r\n\t}\r\n\treturn true;\r\n\r\n}\r\n\r\n");
out.write("\r\n");
} catch (Throwable t) {
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}