📄 添加设备_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
public final class 添加设备_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.ResourceInjector _jspx_resourceInjector;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
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 {
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;
_jspx_resourceInjector = (org.apache.jasper.runtime.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector");
out.write("\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
out.write("<html>\n");
out.write("<head>\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\n");
out.write("<title>无标题文档</title>\n");
out.write("</head>\n");
out.write("\n");
out.write("<body background=\"resources/设备管理系统.jpg\">\n");
out.write("\n");
out.write("\n");
out.write("<table width=\"100%\" height=\"96\" border=\"0\">\n");
out.write(" <tr>\n");
out.write(" <td width=\"17%\"><p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p><a href=\"自定义查询.jsp\">自定义查询</a></p></td>\n");
out.write(" <td width=\"16%\"><p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p><a href=\"添加设备.jsp\">添加设备</a></p></td>\n");
out.write(" <td width=\"14%\"><p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p><a href=\"删除设备.jsp\">删除设备</a></p></td>\n");
out.write(" <td width=\"15%\"><p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p><a href=\"更新设备信息.jsp\">更新设备信息</a></p></td>\n");
out.write(" <td width=\"13%\"><p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p><a href=\"维修设备.jsp\">维修设备</a></p></td>\n");
out.write(" <td width=\"12%\"><p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p><a href=\"备份.jsp\">备份</a></p></td>\n");
out.write(" <td width=\"13%\"><p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p><a href=\"退出系统.jsp\">退出系统</a></p></td>\n");
out.write(" </tr>\n");
out.write("</table>\n");
out.write(" <center>\n");
out.write(" <form action=\"doinsert.jsp\" name=\"insertform\">\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write(" <table width=\"230\" height=\"150\" style=\"margin-top:100\" cellspacing=\"0\" border=\"1\" bordercolor=\"black\" bordercolorlight=\"black\" bordercolordark=\"white\">\n");
out.write(" <tr height=\"25\">\n");
out.write(" <td colspan=\"2\" align=\"center\" bgcolor=\"lightgrey\">\n");
out.write(" 请填写信息!\n");
out.write(" </td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td align=\"right\">用户名:</td>\n");
out.write(" <td><input type=\"text\" name=\"username\" size=\"27\"></td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td align=\"right\">性别:</td>\n");
out.write(" <td><input type=\"text\" name=\"usersex\" maxlength=\"2\" size=\"27\"></td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td align=\"right\">年龄:</td>\n");
out.write(" <td><input type=\"text\" name=\"userage\" size=\"27\"></td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td align=\"right\">职务:</td>\n");
out.write(" <td><input type=\"text\" name=\"userjob\" size=\"27\"></td>\n");
out.write(" </tr>\n");
out.write("\n");
out.write(" <tr>\n");
out.write(" <td colspan=\"2\" align=\"center\">\n");
out.write(" <input type=\"submit\" name=\"submit\" value=\"添加\" onclick=\"return check()\">\n");
out.write(" <input type=\"reset\" name=\"reset\" value=\"重置\">\n");
out.write(" </td>\n");
out.write(" </tr>\n");
out.write(" </table>\n");
out.write(" </form>\n");
out.write(" </center>\n");
out.write("</body>\n");
out.write("</html>\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 {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -