<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.
是什么问题>?

解决方案 »

  1.   

    路径问题,检查你的jsp的路径.
      

  2.   

    login.jsp文件是在"/应用程序名/jsp/login.jsp"这个位置的,我想让他登陆错误之后返回,但出错了.如果登陆成功
    <forward name="login.login_true"
    contextRelative="true"
    path="/jsp/main/main.jsp"/>
    <forward name="login.login_system"
    contextRelative="true"
    path="/jsp/manage/main.jsp"/>
    这两个路径都能找到文件的
      

  3.   

    路径
    http://127.0.0.1:8080/test/jsp/login.jsp