问题讨论:程序 C/C++ Java GUI编程 ASP Php Shell Perl Web开发 软件工程 三大件 机箱 存储设备 光存储 音频设备 视频设备 外设 购机
asp php java C CGI .net vb delphi unix|linux sql Word Excel WPS OutLook Powerpoint Dreamweaver FPage/Golive CSS/HTML DOM/JS
热门词:流程图 excel 入侵检测 vss Windows 安全漏洞 QQ空间 事件编程 MFC

 程序设计交流 > Java 

The requested resource (/index1.jsp) is not available.

[2007-11-14 15:06:10] [来源: 百家电脑学院] [我要投稿]

2006-12-24 17:28pvm6b
The requested resource (/index1.jsp) is not available.

为什么我的struts程序错误。
只写了一个简单的程序。
<action
       path="/userloginAction"
       type="zyx.formbean.userloginAction"
       name="userlogin"
       input="/index1.jsp"
       scope="request"
       >
          <forward name="userLOG" path="/newfile.htm"/>
     </action>
我设定页面forward到newfile.htm但是不是没有反应就是出现上面错误,奇怪。

public class userloginAction extends Action {
        public ActionForward excute(ActionMapping mapping,
            ActionForm form,
            HttpServletRequest request,
            HttpServletResponse response
            ) throws SQLException{

                return mapping.findForward("userLOG");
         }
}

本篇文章发表在:百家学院 (http://www.9php.com),复制请注明.

·看过 The requested resource (/index1.jsp) is not available. 文章的还看过:

·百家学院 | 最新评论·

评论内容:不能少于5个字,请自觉遵守互联网相关政策法规。

用户名: 验证码: 验证码,看不清楚?请点击刷新验证码