_contactus__jsp.java
来自「公司企业网站管理系统中文豪华版」· Java 代码 · 共 199 行 · 第 1/2 页
JAVA
199 行
/*
* JSP generated by Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT)
*/
package _jsp;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.sql.*;
import mfkvit.*;
import java.util.*;
public class _contactus__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
javax.servlet.http.HttpSession session = request.getSession(true);
com.caucho.server.webapp.Application _jsp_application = _caucho_getApplication();
javax.servlet.ServletContext application = _jsp_application;
com.caucho.jsp.PageContextImpl pageContext = com.caucho.jsp.QJspFactory.allocatePageContext(this, _jsp_application, request, response, "/errorpage.jsp", session, 8192, true, false);
javax.servlet.jsp.JspWriter out = pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
response.setContentType("text/html; charset=gb2312");
request.setCharacterEncoding("GB2312");
try {
out.write(_jsp_string0, 0, _jsp_string0.length);
out.print((WebSiteParams.getParamValue("BsEnLinkman")));
out.write(_jsp_string1, 0, _jsp_string1.length);
pageContext.include("top_index.jsp", true);
out.write(_jsp_string2, 0, _jsp_string2.length);
request.setCharacterEncoding("gb2312");int m=0;
try{
JdbcBean dbutil = new JdbcBean();
String condition="select * from CPmessage ORDER BY id desc";
int rowcount = dbutil.execQueryName(condition);
ArrayList al = dbutil.getRS();
for(int i=0;i<rowcount;i++){
HashMap colValue = (HashMap)al.get(i);
m++;
if(m>7) {break;}
out.write(_jsp_string3, 0, _jsp_string3.length);
out.print(((String)colValue.get("id")));
out.write(_jsp_string4, 0, _jsp_string4.length);
out.print(((String)colValue.get("cpmc")));
out.write(_jsp_string5, 0, _jsp_string5.length);
}
out.write(_jsp_string6, 0, _jsp_string6.length);
} catch (Exception ex) {ex.printStackTrace();}
out.write(_jsp_string7, 0, _jsp_string7.length);
request.setCharacterEncoding("gb2312");
try{
JdbcBean dbutil = new JdbcBean();
int rowcount = dbutil.execQueryName("select * from lxfs");
ArrayList al = dbutil.getRS();
for(int i=0;i<rowcount;i++){
HashMap colValue = (HashMap)al.get(i);
out.write(_jsp_string8, 0, _jsp_string8.length);
out.print(((String)colValue.get("GS_name")));
out.write(_jsp_string9, 0, _jsp_string9.length);
out.print(((String)colValue.get("GS_web")));
out.write(_jsp_string10, 0, _jsp_string10.length);
out.print(((String)colValue.get("GS_address")));
out.write(_jsp_string11, 0, _jsp_string11.length);
out.print(((String)colValue.get("GS_zipcode")));
out.write(_jsp_string12, 0, _jsp_string12.length);
out.print(((String)colValue.get("GS_phone")));
out.write(_jsp_string13, 0, _jsp_string13.length);
out.print(((String)colValue.get("GS_fax")));
out.write(_jsp_string14, 0, _jsp_string14.length);
out.print(((String)colValue.get("GS_qq1")));
out.write(_jsp_string15, 0, _jsp_string15.length);
out.print(((String)colValue.get("GS_email")));
out.write(_jsp_string16, 0, _jsp_string16.length);
out.print(((String)colValue.get("GS_note")));
out.write(_jsp_string17, 0, _jsp_string17.length);
}
} catch (Exception ex) {ex.printStackTrace();}
out.write(_jsp_string18, 0, _jsp_string18.length);
pageContext.include("select.jsp", true);
out.write(_jsp_string19, 0, _jsp_string19.length);
pageContext.include("bottom_index.jsp", true);
out.write(_jsp_string20, 0, _jsp_string20.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
com.caucho.jsp.QJspFactory.freePageContext(pageContext);
}
}
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?