📄 _createcardlist__jsp.java
字号:
/*
* 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.*;
import hibernate.*;
import common.TextHandle;
public class _createcardlist__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 = true;
log_user_id = "";
log_user_power = 0;
}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);
hibernate.CardListAction co;
co = (hibernate.CardListAction) pageContext.getAttribute("co");
if (co == null) {
co = new hibernate.CardListAction();
pageContext.setAttribute("co", co);
}
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
rs = (List)co.createCard(10);
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print(( log_user_name));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
out.flush();
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
if(log_user_power==0||log_user_power==2){
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
if(log_user_power==0){
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
}
pageContext.write(_jsp_string9, 0, _jsp_string9.length);
if(log_user_power==0){
pageContext.write(_jsp_string10, 0, _jsp_string10.length);
}
pageContext.write(_jsp_string11, 0, _jsp_string11.length);
if(log_user_power==0){
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -