当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·如何在安装程序中添加bde    »显示摘要«
    摘要: 我用delphi5.0,paradox制作了一个程序。现在我需要制作安装程序,请问如何把bde添加到安装程序中才能保证程序在没有安装delphi5的环境中运行?我使用的安装软件是:安装工厂. ......
 ·关于画曲线的问题    »显示摘要«
    摘要: 我有5个数字,显示图表 1月 数值为2 2月 数值为6 3月 数值为2 4月 数值为8 5月 数值为8 用什么控件?哪为大哥给出关键的代码部分?谢谢 ......


配置或使用过 struts 的朋友进来帮忙看一下(小弟菜鸟,高分求助)

安装   struts   :,下载struts安装包,把struts.jar拷贝到web-inf/lib/目录下,并且把所有的*.tld也拷贝到web-inf下,修改了web.xml,启动TOMCAT(WEBLOGIC)没什么问题。  
   
  可是把   struts   提供的几个例子放到application下后TOMCAT(WEBLOGIC)屏幕上就会出现大片的提示,我以为是找不到DTD,拷贝了DTD到web-inf下并修改了xml文件不管用。  
   
  有几行是这样,高手帮忙看看是什么原因造成的?  
   
  register(-//Apache   Software   Foundation//DTD   Struts   Configuration   1.0//EN,   jar  
  :file:/C:/tomcat/webapps/strutsTest/WEB-INF/lib/struts.jar!/org/apache/struts/re  
  sources/struts-config_1_0.dtd  
  register(-//Sun   Microsystems,   Inc.//DTD   Web   Application   2.2//EN,   jar:file:/C:  
  /tomcat/webapps/strutsTest/WEB-INF/lib/struts.jar!/org/apache/struts/resources/w  
  eb-app_2_2.dtd  
  register(-//Sun   Microsystems,   Inc.//DTD   Web   Application   2.3//EN,   jar:file:/C:  
  /tomcat/webapps/strutsTest/WEB-INF/lib/struts.jar!/org/apache/struts/resources/w  
  eb-app_2_3.dtd  
  resolveEntity(-//Apache   Software   Foundation//DTD   Struts   Configuration   1.0//EN,  
    http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd)  
    Resolving   to   alternate   DTD   jar:file:/C:/tomcat/webapps/strutsTest/WEB-INF/lib/  
  struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd  
  register(-//Apache   Software   Foundation//DTD   Struts   Configuration   1.0//EN,   jar  
  :file:/C:/tomcat/webapps/strutsTest/WEB-INF/lib/struts.jar!/org/apache/struts/re  
  sources/struts-config_1_0.dtd  
  register(-//Sun   Microsystems,   Inc.//DTD   Web   Application   2.2//EN,   jar:file:/C:  
  /tomcat/webapps/strutsTest/WEB-INF/lib/struts.jar!/org/apache/struts/resources/w  
  eb-app_2_2.dtd  
  register(-//Sun   Microsystems,   Inc.//DTD   Web   Application   2.3//EN,   jar:file:/C:  
  /tomcat/webapps/strutsTest/WEB-INF/lib/struts.jar!/org/apache/struts/resources/w  
  eb-app_2_3.dtd  
  resolveEntity(-//Sun   Microsystems,   Inc.//DTD   Web   Application   2.3//EN,   http://  
  java.sun.com/dtd/web-app_2_3.dtd)  
    Resolving   to   alternate   DTD   jar:file:/C:/tomcat/webapps/strutsTest/WEB-INF/lib/  
  struts.jar!/org/apache/struts/resources/web-app_2_3.dtd  
  Call   org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.S  
  tring,*.do/java.lang.String)  
   
 

NO.1   作者: run

错误我还没找出来,就是几个例子   .war不能拷贝到你的application目录中去,而是需要拷贝到tomcat/webapps下,每个war是一个应用程序,tomcat会自己展开。  
  你拷贝之后,是否重新启动了tomcat?

NO.2   作者: run

把配置一条一条的删,看看是在哪一个配置地方出现的问题

NO.3   作者: Lutx

这些是正常的提示信息,好象不是什么错误信息。你那些struts的应用能正常运行吗?

NO.4   作者: sandyen

第一你的struts.jar有没有放到你的classpath路径中  
  第二你的struts-config.xml文件是否存在,是否配置正确

NO.5   作者: popety_bit

关注

NO.6   作者: Leemaasn

你说的我也碰到。  
  我自己猜。。。。  
  可能那些输出信息是tomcai姐姐使用debug来输出信息时用的。,  
  在正式发布时。。。tomcat姐姐她忘了设置标志位===不输出。。。

NO.7   作者: DavidBone

up

NO.8   作者: 7phoenix)

这好像不是错误,是正常的信息。

NO.9   作者: cxhz_cn

如果你是否用Tomcat的话,和我联系~~  
   
  QQ:503071

NO.10   作者: aleccheung

resin   非常简单,不用那么麻烦的配置。  
  我也是今天刚弄的。  
 

NO.11   作者: GFox

请确定两点:  
  1.你的Struts版本是多少?  
  2.是哪里下载的  
   
  你试试将Struts.jar删了,再把web.xml改回来,然后再将Struts自己带的例子放到Tomcat的发布目录下试试,正常的应该不用配置也能运行的。  
   
  3.你的tomcat版本是多少?  
 

NO.12   作者: CrazyPisces

都是正常的输出信息,不是错误  
  我用的jboss输出同样的信息


    摘要: 在窗口中实现按键盘上的特定键(如end、home键)触发某事件,应该怎么做? ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE