Stack Context

Struts中的Value Stack Contents 和Stack Context

你说的曾经没有我的故事 提交于 2019-11-30 07:49:53
上次说到再JSP页面使用进行<s:debug>进行调试;可以看见Value Stack Contents 和Stack Context,它们到底代表什么含义呢? 一、获取Value Stack Content 在Action中可以通过ActionContext获取ValueStack 对象。 @SuppressWarnings("serial") public class QryAppKindInfoAction extends BaseAction { private Logger logger = Logger.getLogger(QryAppKindInfoAction.class); private IAppKindInfoService appKindInfoService; private List<AppKindInfoVO> appkindInfos; // 查询类别的List列表 private AppKindInfoQryVO qryvo = new AppKindInfoQryVO(); @Override public String execute(Map sessionMap) throws Exception { logger.debug("enter into QryAppKindInfoAction.execute()..."); try { Map