Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Architecture & Framework  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:急!500 No action instance for path XXX could be created原因! [Re:onebluesky]
onebluesky



发贴: 0
积分: 0
于 2003-05-15 11:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这个程序以前完全可以正常运行,在此期间我重装过系统,但环境也配了!
不知这个错误和什么有关?struts-config.xml and web.xml 我都检查过!
它还与其他的文件有关吗?
下面是WEB.XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources_ch</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>dbInit</servlet-name>
<servlet-class>test.db.util.DBInitServlet</servlet-class>
<init-param>
<param-name>driverClass</param-name>
<param-value>com.microsoft.jdbc.sqlserver.SQLServerDriver</param-value>
</init-param>
<init-param>
<param-name>jdbcURL</param-name>
<param-value>jdbc:microsoft:sqlserver://blue:1433;databasename=TEST;user=sa ;password=test</param-value>
</init-param>
<init-param>
<param-name>maxCount</param-name>
<param-value>20</param-value>
</init-param>
<init-param>
<param-name>minCount</param-name>
<param-value>1</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>servlet-shtml</servlet-name>
<url-pattern>*.shtml</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/template</taglib-uri>
<taglib-location>/WEB-INF/struts-template.tld</taglib-location>
</taglib>
</web-app>

QueryrsAction在struts-config.xml 中的配置:
<action path="/QueryAction"
type="test.actions.admenu.QueryAction"
input="/web/login.jsp"
name="AdminBean"
scope="request">
<forward name="first" path="/web/notice.jsp"/>
<forward name="error" path="/web/login.jsp"/>
</action>




话题树型展开
人气 标题 作者 字数 发贴时间
17280 急!500 No action instance for path XXX could be created原因! onebluesky 94 2003-05-14 18:28
14570 Re:急!请问此错误原因! floater 69 2003-05-15 02:12
14888 Re:急!500 No action instance for path XXX could be created原因! why 727 2003-05-16 20:46
14139 Re:急!500 No action instance for path XXX could be created原因! floater 958 2003-05-16 22:45
14220 Re:急!500 No action instance for path XXX could be created原因! onebluesky 124 2003-05-18 00:22
14097 Re:急!请问此错误原因! why 353 2003-05-15 04:25
15901 Re:急!500 No action instance for path XXX could be created原因! onebluesky 2527 2003-05-15 11:32
13877 Re:急!500 No action instance for path XXX could be created原因! onebluesky 71 2003-05-15 13:48
13950 Re:急!500 No action instance for path XXX could be created原因! why 356 2003-05-15 20:03
13929 Re:急!500 No action instance for path XXX could be created原因! floater 130 2003-05-15 22:24
13784 Re:急!500 No action instance for path XXX could be created原因! onebluesky 66 2003-05-16 12:11
19835 Re:急!500 No action instance for path XXX could be created原因! haibo 474 2003-05-16 15:25
13933 Re:急!500 No action instance for path XXX could be created原因! onebluesky 119 2003-05-16 16:57
20031 Re:急!500 No action instance for path XXX could be created原因! haibo 105 2003-05-16 18:12

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2020 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号
客服电话 0592-8750026    客服信箱 714923@qq.com    客服QQ 714923