%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@taglib uri="/struts-tags" prefix="s"%> <%@page import="com.ccgj.platform.util.GlobalDefine"%> <%@page import="com.opensymphony.xwork2.ActionContext"%> <%@ page import="com.ccgj.database.beans.YHB"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %> <% String id=""; String lmid = request.getParameter("lmid"); System.out.println(lmid); String qx_check ="news"+lmid+"_check"; YHB yhbBean =null; if(ActionContext.getContext().getSession().get(GlobalDefine.USER) != null){ yhbBean= (YHB) ActionContext.getContext().getSession().get(GlobalDefine.USER); id = yhbBean.getId().toString(); }else{ response.sendRedirect("login.jsp"); } boolean b = "admin".equals(yhbBean.getYhzh())||"sooka".equals(yhbBean.getYhzh())||"yshjj".equals(yhbBean.getYhzh())||"srhwj".equals(yhbBean.getYhzh())||"dgwbgs".equals(yhbBean.getYhzh()); %>