⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 teacheradd_jsp.java

📁 jsp制作的一个信息管理系统源码,完整实用版
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import common.PageView;

public final class TeacherAdd_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  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("\r\n");
      out.write("\r\n");
      out.write(" <!-- 权限管理 -->\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write(" ");
      news.NewsTypeManager myNewsTypeManager = null;
      synchronized (_jspx_page_context) {
        myNewsTypeManager = (news.NewsTypeManager) _jspx_page_context.getAttribute("myNewsTypeManager", PageContext.PAGE_SCOPE);
        if (myNewsTypeManager == null){
          myNewsTypeManager = new news.NewsTypeManager();
          _jspx_page_context.setAttribute("myNewsTypeManager", myNewsTypeManager, PageContext.PAGE_SCOPE);
        }
      }
      out.write('\r');
      out.write('\n');
      out.write(' ');
      news.NewsManager myNewsManager = null;
      synchronized (_jspx_page_context) {
        myNewsManager = (news.NewsManager) _jspx_page_context.getAttribute("myNewsManager", PageContext.PAGE_SCOPE);
        if (myNewsManager == null){
          myNewsManager = new news.NewsManager();
          _jspx_page_context.setAttribute("myNewsManager", myNewsManager, PageContext.PAGE_SCOPE);
        }
      }
      out.write("\r\n");
      out.write("  \r\n");
      out.write("<html>\r\n");
      out.write("\r\n");
      out.write("<head>\r\n");
      out.write("<title>汉语史研究中心网站――后台管理系统</title>\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style.css\">\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write("-->\r\n");
      out.write("</style>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<div align=\"center\" class=\"unnamed1\">\r\n");
      out.write("<center>\r\n");
      out.write("\t<!--  include  common top page -->\r\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "top.htm", out, false);
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t<table width=\"777\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" height=\"1\">\r\n");
      out.write("      <tr> \r\n");
      out.write("        <td bgcolor=\"#3A5C9F\" width=\"168\" height=\"143\" valign=\"top\"> \r\n");
      out.write("          <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("            <tr bgcolor=\"#000000\"> \r\n");
      out.write("              <td><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </table>\r\n");
      out.write("          <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td width=\"15%\">&nbsp;</td>\r\n");
      out.write("              <td width=\"70%\"><table width=\"100%\" height=\"142\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                  <tr> \r\n");
      out.write("                    <td>&nbsp;</td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("  \t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("\r\n");
      out.write("<!-- 学生管理菜单 -->\t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("                  <tr> \r\n");
      out.write("                    <td bgcolor=\"#304D7C\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><font color=\"#FFFFFF\"><b>学 生 管 理</b></font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("                  <tr> \r\n");
      out.write("                    <td bgcolor=\"#8DB6CD\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><a href=\"StudentAdd.jsp\"><font color=\"#FFFFFF\">增加学生信息</font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("                  <tr> \r\n");
      out.write("                    <td bgcolor=\"#8DB6CD\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><a href=\"StudentUpdate.jsp\"><font color=\"#FFFFFF\">修改学生信息</font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t   <tr> \r\n");
      out.write("                    <td bgcolor=\"#8DB6CD\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><a href=\"StudentDelete.jsp\"><font color=\"#FFFFFF\">删除学生信息</font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("<!-- 教员管理菜单 -->\t\r\n");
      out.write("      \t\t\t <tr> \r\n");
      out.write("                    <td bgcolor=\"#304D7C\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><font color=\"#FFFFFF\"><b>教 员 管 理</b></font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  <tr> \r\n");
      out.write("                    <td bgcolor=\"#8DB6CD\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><a href=\"TeacherAdd.jsp\"><font color=\"#FFFFFF\">增加教员信息</font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -