studentadd_jsp.java

来自「jsp制作的一个信息管理系统源码,完整实用版」· Java 代码 · 共 379 行 · 第 1/2 页

JAVA
379
字号
      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("                  <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=\"TeacherUpdate.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=\"TeacherDelete.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("<!-- 菜单完成 -->\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("                  <tr> \r\n");
      out.write("                    <td>&nbsp;</td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("                </table></td>\r\n");
      out.write("              <td width=\"15%\">&nbsp;</td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </table> </td>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!-- 右页面 -->\r\n");
      out.write("        <td bgcolor=\"#C4C4C4\" width=\"3\" height=\"143\"><img src=\"../images/dot1.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("        <td colspan=\"2\" height=\"143\" valign=\"top\" align=\"right\">\r\n");
      out.write("         \r\n");
      out.write("    \t<table border=\"0\" width=\"98%\" cellspacing=\"1\" cellpadding=\"0\" >\r\n");
      out.write("         \t\r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t&nbsp;\r\n");
      out.write("         \t</tr>\r\n");
      out.write("    \t\r\n");
      out.write("         \t\r\n");
      out.write("         \t\t\r\n");
      out.write("         \t<form method=\"POST\" action=\"~StudentAdd.jsp\">\r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;学生姓名: </font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"400\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"name\" size=\"16\" maxlength=\"16\"> *\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;学生性别: </font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"400\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<select name=\"sex\" size=1>\n");
      out.write("\t\t\t\t\t<option value=\"男\">男\r\n");
      out.write("\t\t\t\t\t<option value=\"女\">女\r\n");
      out.write("\t\t\t\t</select>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("         \t  \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\" height=\"30\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;取得学位:</font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"480\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<select name=\"level\" size=1>\n");
      out.write("\t\t\t\t\t<option value=\"硕士\">硕士\r\n");
      out.write("\t\t\t\t\t<option value=\"博士\">博士\r\n");
      out.write("\t\t\t\t</select>\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;入学日期: </font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td align=\"left\" bgcolor=\"#8DB6CD\" width=\"400\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"inyyyy\" size=\"4\" maxlength=\"4\">-\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"inmm\" size=\"2\" maxlength=\"2\">-\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"indd\" size=\"2\" maxlength=\"2\">\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;毕业日期: </font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"400\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"outyyyy\" size=\"4\" maxlength=\"4\">- \r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"outmm\" size=\"2\" maxlength=\"2\">- \r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"outdd\" size=\"2\" maxlength=\"2\">\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("         \t\t\r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;导师名称:</font>\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"400\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"tname\" size=\"16\" maxlength=\"16\"> \r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("       \r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\" height=\"30\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;毕业论文:</font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"480\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"paper\" size=\"32\" maxlength=\"128\">\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\" height=\"30\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;联系地址: </font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"480\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"address\" size=\"32\" maxlength=\"128\">\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("         \t<tr>\r\n");
      out.write("         \t\t<td align=\"center\" valign=\"middle\" width=\"100\" bgcolor=\"#304D7C\" height=\"30\">\r\n");
      out.write("\t\t\t\t<font color=\"ffffff\">&nbsp;毕业去向: </font>\r\n");
      out.write("\t\t\t\t</td>\t\r\n");
      out.write("\t\t\t \t<td  align=\"left\" bgcolor=\"#8DB6CD\" width=\"480\" height=\"30\">&nbsp;\r\n");
      out.write("\t\t\t\t<input type=\"text\" name=\"job\" size=\"32\" maxlength=\"128\">\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t\r\n");
      out.write("         \t\r\n");
      out.write("         \t\r\n");
      out.write("         \t<tr>\r\n");
      out.write("\t\t\t\t<td  colspan=\"3\" align=\"center\"  valign=\"middle\" bgcolor=\"#ffffff\" width=\"580\" height=\"30\">\r\n");
      out.write("\t\t\t\t<div align=\"right\">\r\n");
      out.write("\t\t\t\t<input type=\"submit\" name=\"add\" value=\"增加\"></div>\r\n");
      out.write("\t\t\t\t</td>\r\n");
      out.write("         \t</tr>\r\n");
      out.write("         \t</form>\r\n");
      out.write("         \t\r\n");
      out.write("         \r\n");
      out.write(" \t\t  </table>\r\n");
      out.write("        </td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("\t<!-- include  common bottom.htm -->\r\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "bottom.htm", out, false);
      out.write("\r\n");
      out.write("  </center></div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

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