centos操作系统 、Tomcate6 服务器,运行一段时间后有几个Action报 404错误
No result defined for action and result input
前端用了 urlrewrite 做伪静态
<rule> <from>/desktop/index</from> <to>/desktop/index.action</to> </rule>
Action配置 :
<action name="index" class="deskTopAction" method="search"> <result>desktop.jsp</result> <result name="login">../login.jsp</result> </action>
Action类方法 :
public String search(){ member = (Member)this.httpSession.getAttribute("curMember"); if(member == null){//游客身份登录 ,暂时去掉 return "login"; } this.httpSession.setAttribute("CurQQMember",member); islogin = "1"; return "success"; }
慕斯709654
相关分类