%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@page import="com.ccgj.platform.util.GlobalDefine"%> <%@page import="com.opensymphony.xwork2.ActionContext"%> <%@ page import="com.ccgj.database.beans.*"%> <%@taglib uri="/struts-tags" prefix="s"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %> <% String id=""; LMB lmb = (LMB)request.getAttribute("lmb"); String qx_check ="news"+lmb.getId()+"_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"); } %>