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

📄 showcontrolpane_0002ejsp_jsp.java

📁 一个关于java串口通信的程序,其中需要用到特殊的java开发包
💻 JAVA
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;

public class showControlPane_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=GBK");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Language\" content=\"zh-cn\">\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("<title>控制台");
      out.write("</title>\r\n");
      out.write("<base target=\"_self\">\r\n");
      out.write("</head>\r\n\r\n");
      out.write("<body bgcolor=\"#808080\" text=\"#00FFFF\">\r\n\r\n");
      out.write("<form method=\"POST\" action=\"sendMsg.jsp\">\r\n\t");
      out.write("<table border=\"0\" width=\"100%\" id=\"table1\">\r\n\t\t");
      out.write("<tr>\r\n\t\t\t");
      out.write("<td width=\"64\">");
      out.write("<font size=\"2\">端&nbsp; 口:");
      out.write("</font>");
      out.write("</td>\r\n\t\t\t");
      out.write("<td>");
      out.write("<select size=\"1\" name=\"port\">\r\n\t\t\t");
      out.write("<option selected value=\"COM1\">COM1");
      out.write("</option>\r\n\t\t\t");
      out.write("<option value=\"COM2\">COM2");
      out.write("</option>\r\n\t\t\t");
      out.write("<option value=\"COM3\">COM3");
      out.write("</option>\r\n\t\t\t");
      out.write("<option value=\"COM4\">COM4");
      out.write("</option>\r\n\t\t\t");
      out.write("<option value=\"COM5\">COM5");
      out.write("</option>\r\n\t\t\t");
      out.write("</select>");
      out.write("</td>\r\n\t\t");
      out.write("</tr>\r\n\t\t");
      out.write("<tr>\r\n\t\t\t");
      out.write("<td width=\"64\">");
      out.write("<font size=\"2\">负责人:");
      out.write("</font>");
      out.write("</td>\r\n\t\t\t");
      out.write("<td>");
      out.write("<input type=\"text\" name=\"fuzeren\" size=\"18\">");
      out.write("</td>\r\n\t\t");
      out.write("</tr>\r\n\t\t");
      out.write("<tr>\r\n\t\t\t");
      out.write("<td width=\"64\">");
      out.write("<font size=\"2\">终端号:");
      out.write("</font>");
      out.write("</td>\r\n\t\t\t");
      out.write("<td>");
      out.write("<input type=\"text\" name=\"terminalNum\" size=\"18\">");
      out.write("</td>\r\n\t\t");
      out.write("</tr>\r\n\t\t");
      out.write("<tr>\r\n\t\t\t");
      out.write("<td width=\"64\" valign=\"top\">");
      out.write("<font size=\"2\">信&nbsp; 息:");
      out.write("</font>");
      out.write("</td>\r\n\t\t\t");
      out.write("<td>");
      out.write("<textarea rows=\"7\" name=\"message\" cols=\"18\">");
      out.write("</textarea>");
      out.write("</td>\r\n\t\t");
      out.write("</tr>\r\n\t\t");
      out.write("<tr>\r\n\t\t\t");
      out.write("<td colspan=\"2\" align=\"center\">\r\n\t\t\t");
      out.write("<font size=\"1\">\r\n\t\t\t");
      out.write("<input type=\"submit\" value=\"发送\" name=\"send\">");
      out.write("</font>");
      out.write("<font size=\"2\"> ");
      out.write("</font>\r\n\t\t\t");
      out.write("<font size=\"1\">\r\n\t\t\t");
      out.write("<input type=\"reset\" value=\"重写\" name=\"rewrite\">");
      out.write("</font>");
      out.write("</td>\r\n\t\t");
      out.write("</tr>\r\n\t");
      out.write("</table>\r\n");
      out.write("</form>\r\n\r\n");
      out.write("</body>\r\n\r\n");
      out.write("</html>");
    } 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);
    }
  }
}

⌨️ 快捷键说明

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