一个社区系统

源代码在线查看: left.java

软件大小: 11939 K
上传用户: lqlm521
关键词:
下载地址: 免注册下载 普通下载 VIP

相关代码

				package com.laoer.bbscs.web.action;
				
				import org.apache.struts.action.*;
				import com.laoer.bbscs.web.servlet.*;
				import com.laoer.bbscs.bean.*;
				import javax.servlet.http.*;
				import java.util.*;
				
				/**
				 * Title: TianYi BBS
				 * Description: TianYi BBS System
				 * Copyright: Copyright (c) 2004
				 * Company: LAOER.COM/TIANYISOFT.NET
				 * @author laoer
				 * @version 6.0
				 */
				
				public class Left
				    extends BaseAction {
				  public ActionForward execute(ActionMapping actionMapping,
				                               ActionForm actionForm,
				                               HttpServletRequest httpServletRequest,
				                               HttpServletResponse httpServletResponse) {
				    UserCheck uc = this.getUserCheck(httpServletRequest, httpServletResponse);
				    UserInfo ui = null;
				    if (!uc.isGuest()) {
				      ui = getUserCache().getUserInfoFromCache(uc.getId());
				    }
				    httpServletRequest.setAttribute("uc", uc);
				    httpServletRequest.setAttribute("ui", ui);
				
				    return actionMapping.findForward("left");
				  }
				}
							

相关资源