song_jsp.java

来自「手机在线系统 采用Java 中的J2ME, JSP 跟MySql 运行环」· Java 代码 · 共 88 行

JAVA
88
字号
package org.apache.jsp.recreation.music_005fsong;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.j2me.data.*;

public final class song_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=gbk");
      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("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<HTML>\r\n");
      out.write("   <HEAD>\r\n");
      out.write("      <TITLE> 音乐列表 </TITLE>\r\n");
      out.write("   </HEAD>\r\n");
      out.write("      <BODY>\t\r\n");
      out.write("\t\t ");
      com.j2me.data.Recreation re = null;
      synchronized (_jspx_page_context) {
        re = (com.j2me.data.Recreation) _jspx_page_context.getAttribute("re", PageContext.PAGE_SCOPE);
        if (re == null){
          re = new com.j2me.data.Recreation();
          _jspx_page_context.setAttribute("re", re, PageContext.PAGE_SCOPE);
        }
      }
      out.write("\r\n");
      out.write("\t\t ");
      org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(_jspx_page_context.findAttribute("re"), "query", "select *from music_song", null, null, false);
      out.write("\r\n");
      out.write("\t\t ");
      org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(_jspx_page_context.findAttribute("re"), "how", "3", null, null, false);
      out.write("\r\n");
      out.write("\t\t ");
      out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((com.j2me.data.Recreation)_jspx_page_context.findAttribute("re")).getResult())));
      out.write("\t\r\n");
      out.write("\r\n");
      out.write("\t  </BODY>\r\n");
      out.write("\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 + -
显示快捷键?