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

📄 xfbz_jsp.java~1~

📁 培训中心办公自动化系统之财务管理模块 包括缴纳报名费、学费
💻 JAVA~1~
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import pxzx.sql.*;

public final class xfbz_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,
      			null, 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("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n");
      out.write("<title>无标题文档</title>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write(".STYLE15 {font-size: 18px}\r\n");
      out.write(".STYLE2 {font-size: 16px}\r\n");
      out.write(".STYLE16 {color: #000000}\r\n");
      out.write(".STYLE17 {font-weight: bold; font-size: 18px;}\r\n");
      out.write(".STYLE18 {font-size: 18}\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("\r\n");
      out.write("<form action=\"\" method=\"post\" name=\"form1\" class=\"STYLE16\" id=\"form1\">\r\n");
      out.write("  <label></label>\r\n");
      out.write("  <label></label>\r\n");
      out.write("  <span class=\"STYLE2\">\r\n");
      out.write("  <label><span class=\"STYLE17\"><br />\r\n");
      out.write("    财务管理-&gt;学费管理-&gt;<a href=\"学费报账.html\">报账</a></span></label>\r\n");
      out.write("  </span>\r\n");
      out.write("  <hr />\r\n");
      out.write("  <span class=\"STYLE2\">\r\n");
      out.write("  <label><span class=\"STYLE18\"><br />\r\n");
      out.write("  <span class=\"STYLE15\">   请在下面输入报账信息</span></span><span class=\"STYLE15\">:</span><br />\r\n");
      out.write("    <span class=\"STYLE15\">      </span>    <br />\r\n");
      out.write("  <br />\r\n");
      out.write("  </label>\r\n");
      out.write("  </span>\r\n");
      out.write("  <label><span class=\"STYLE15\"> </span></label><span class=\"STYLE2\">\r\n");
      out.write("  <label><span class=\"STYLE15\">     日期</span>  \r\n");
      out.write("  <input name=\"addtime\" type=\"text\" id=\"addtime\" size=\"16\" maxlength=\"12\">  \r\n");
      out.write("    \r\n");
      out.write("  凭证种类 </label>\r\n");
      out.write("\r\n");
      out.write("  <label>\r\n");
      out.write("  <select name=\"select\">\r\n");
      out.write("    <option>收款</option>\r\n");
      out.write("    <option>付款</option>\r\n");
      out.write("    <option>转帐</option>\r\n");
      out.write("  </select>\r\n");
      out.write("  </label>\r\n");
      out.write("\r\n");
      out.write("  <label></label>\r\n");
      out.write("  </span>\r\n");
      out.write("  <p class=\"STYLE2\">\r\n");
      out.write("    <label>     借方科目\r\n");
      out.write("      <input name=\"textfield2\" type=\"text\" size=\"16\" />\r\n");
      out.write("           借方金额\r\n");
      out.write("      <input name=\"textarea\" type=\"text\" value=\"0.00\" size=\"16\" />\r\n");
      out.write("    </label>\r\n");
      out.write("  </p>\r\n");
      out.write("  <p class=\"STYLE2\">\r\n");
      out.write("    <label>     贷方科目\r\n");
      out.write("      <input name=\"textfield32\" type=\"text\" size=\"16\" />\r\n");
      out.write("    </label>\r\n");
      out.write("\r\n");
      out.write("    <label>     贷方金额\r\n");
      out.write("      <input name=\"textfield33\" type=\"text\" value=\"0.00\" size=\"16\" />\r\n");
      out.write("    </label>\r\n");
      out.write("  </p>\r\n");
      out.write("  <p class=\"STYLE2\">\r\n");
      out.write("    <label>     制票人 \r\n");
      out.write("      <input name=\"textfield34\" type=\"text\" size=\"16\" />\r\n");
      out.write("    </label>\r\n");
      out.write("    <label>      审核人 \r\n");
      out.write("      <input name=\"textfield4\" type=\"text\" size=\"16\" />\r\n");
      out.write("    </label>\r\n");
      out.write("  </p>\r\n");
      out.write("  <p class=\"STYLE2\">      摘要:</p>\r\n");
      out.write("  <p class=\"STYLE2\">\r\n");
      out.write("    <label>       \r\n");
      out.write("      <textarea name=\"textarea2\" cols=\"95\" rows=\"5\"></textarea>\r\n");
      out.write("    </label>\r\n");
      out.write("  </p>\r\n");
      out.write("  <p class=\"STYLE2\">\r\n");
      out.write("    <label></label>\r\n");
      out.write("  </p>\r\n");
      out.write("  <p align=\"center\" class=\"STYLE15\"> <span class=\"STYLE2\">\r\n");
      out.write("    <input name=\"Submit2\" type=\"submit\" value=\"确认\" />\r\n");
      out.write("  </span></p>\r\n");
      out.write("  <p class=\"STYLE2\">&nbsp;</p>\r\n");
      out.write("</form>\r\n");

java.sql.Date date=java.sql.Date.valueOf(request.getParameter("addtime"));
String C_kind=request.getParameter("select");
String B_sub=request.getParameter("textfield2");
float B_mon=Float.parseFloat(request.getParameter("textarea"));
String L_sub=request.getParameter("textfield32");
String SL_mon=request.getParameter("textfield33");
float L_mon=Float.parseFloat(SL_mon);
String C_Ma_name=request.getParameter("textfield34");
String C_Au_name=request.getParameter("textfield4");
String C_abst=request.getParameter("textarea2");

xfbzpz bz=new xfbzpz();
        bz.setC_date(date);
        bz.setC_kind(C_kind);
        bz.setC_abst(C_abst);
        bz.setB_sub(B_sub);
        bz.setB_mon(B_mon);
        bz.setL_sub(L_sub);
        bz.setL_mon(L_mon);
        bz.setC_Ma_name(C_Ma_name);
        bz.setC_Au_name(C_Au_name);
        PZInsert pzi=new PZInsert(bz);
        System.out.println("插入成功");

      out.write("\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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -