SSH架构的bbs系统
源代码在线查看: left.java
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");
}
}