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

📄 _product__jsp.java

📁 彩铃小项目的原代码 下载
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/*
 * JSP generated by Resin 2.1.17 (built Thu Dec  8 15:09:04 PST 2005)
 */

package _manager;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.util.List;
import hibernate.iml.Product;
import hibernate.ProductAction;
import common.TextHandle;

public class _product__jsp extends com.caucho.jsp.JavaPage{
  private boolean _caucho_isDead;
  
String log_user_name,log_user_id;
int log_user_power;
boolean isLogin;

  
List rs = null;

  
  public void
  _jspService(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response)
    throws java.io.IOException, javax.servlet.ServletException
  {
    com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
    javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.Servlet page = this;
    javax.servlet.http.HttpSession session = pageContext.getSession();
    javax.servlet.ServletContext application = pageContext.getServletContext();
    response.setContentType("text/html;charset=gb2312");
    request.setCharacterEncoding("GB2312");
    try {
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      
isLogin = true;

log_user_id = (String)session.getAttribute("USER_ID_ALL");
log_user_name = (String)session.getAttribute("USER_NAME_ALL");

if( (log_user_id == null)||(log_user_id.equals(""))||(log_user_id.equals("null")) ) {
	isLogin = false;
	log_user_id = "";
	log_user_power = -1;
}else{
	log_user_power = Integer.parseInt((String)session.getAttribute("USER_POWER_ALL"));
}

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      
//\u5224\u65ad\u662f\u5426\u4e3a\u767b\u5f55\u548c\u6709\u6743\u9650\u7528\u6237\uff0c\u5982\u679c\u4e0d\u662f\u5219\u5bfc\u51fa\u76f8\u5e94\u9875\u9762
if( (!isLogin )||(log_user_power==1)) {
	response.sendRedirect(response.encodeURL("/error.jsp"));
	return;
}

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string1, 0, _jsp_string1.length);
      Product objectOp;
      objectOp = (Product) pageContext.getAttribute("objectOp");
      if (objectOp == null) {
        objectOp = new Product();
        pageContext.setAttribute("objectOp", objectOp);
      }
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      ProductAction opHandle;
      opHandle = (ProductAction) pageContext.getAttribute("opHandle");
      if (opHandle == null) {
        opHandle = new ProductAction();
        pageContext.setAttribute("opHandle", opHandle);
      }
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      {
        java.lang.String _jspParam;
        _jspParam = request.getParameter("method");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setMethod(_jspParam);
        _jspParam = request.getParameter("id");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setId(_jspParam);
        _jspParam = request.getParameter("accessory");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setAccessory(_jspParam);
        _jspParam = request.getParameter("musicname");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setMusicname(_jspParam);
        _jspParam = request.getParameter("unitName");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setUnitName(_jspParam);
        _jspParam = request.getParameter("page");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setPage(_jspParam);
        _jspParam = request.getParameter("pageSize");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setPageSize(java.lang.Integer.valueOf(_jspParam).intValue());
        _jspParam = request.getParameter("pagestr");
        if (_jspParam != null && ! _jspParam.equals(""))
          opHandle.setPagestr(_jspParam);
      }
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      rs = (List)opHandle.getSelect();
      pageContext.write(_jsp_string2, 0, _jsp_string2.length);
      pageContext.write(_jsp_string3, 0, _jsp_string3.length);
      out.print(( log_user_name));
      pageContext.write(_jsp_string4, 0, _jsp_string4.length);
      out.flush();
      pageContext.write(_jsp_string5, 0, _jsp_string5.length);
      if(log_user_power==0||log_user_power==2){
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      if(log_user_power==0){
      pageContext.write(_jsp_string7, 0, _jsp_string7.length);
      }

⌨️ 快捷键说明

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