● JPetStore用户管理分析
JPetStore将登陆后的用户ActionForm保持于Session作用域中,在页面中判断该ActionForm中的用户信息,实现了简单的用户验证。
Ø 进入用户管理
<a href="<c:url value="/shop/signonForm.do"/>">
Ø Struts-config.xml配置
<action path="/shop/signonForm"
type="org.springframework.samples.jpetstore.web.struts.DoNothingAction"