<action
path="/login"
type="com.xx.servlet.LoginAction"
name="loginForm"
scope="request"
input="/jsp/login.jsp"
validate="true">
<forward name="login.login_true"
contextRelative="true"
path="/jsp/main/main.jsp"/>
<forward name="login.login_system"
contextRelative="true"
path="/jsp/manage/main.jsp"/>
</action>
-----------------------------------------
LoninAction中有的return(mapping.findForward(mapping.getInput()));调用了input="/jsp/login.jsp"之后,报
2006-12-14 1:54:23 org.apache.struts.action.ActionMapping findForward
警告: Unable to find '/jsp/login.jsp' forward.
是什么问题>?
path="/login"
type="com.xx.servlet.LoginAction"
name="loginForm"
scope="request"
input="/jsp/login.jsp"
validate="true">
<forward name="login.login_true"
contextRelative="true"
path="/jsp/main/main.jsp"/>
<forward name="login.login_system"
contextRelative="true"
path="/jsp/manage/main.jsp"/>
</action>
-----------------------------------------
LoninAction中有的return(mapping.findForward(mapping.getInput()));调用了input="/jsp/login.jsp"之后,报
2006-12-14 1:54:23 org.apache.struts.action.ActionMapping findForward
警告: Unable to find '/jsp/login.jsp' forward.
是什么问题>?
<forward name="login.login_true"
contextRelative="true"
path="/jsp/main/main.jsp"/>
<forward name="login.login_system"
contextRelative="true"
path="/jsp/manage/main.jsp"/>
这两个路径都能找到文件的
http://127.0.0.1:8080/test/jsp/login.jsp