项目开发快结束,我才接受这个项目。。 现在碰到了个问题,项目一打开就有一个线程在跑。这个线程主要是用来扫描数据库没有成功发送给终端机的信息,再通过socket发送过去。。 可是我已经屏蔽了web.xml的监听器啦。为什么还出现这种情况。。同时这个线程还在控制输出 新增任务,现在有任务为 可是我整个项目检索 也没找到这个关键字所在的类啊。。是不被封装到jar里面去了,但是我查看了下lib目录下的包 都不像是个人帮助包啊。
  
            
     由于本贴只能给100分,问题解决另外开贴送分。web.xml<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
   <display-name>ids</display-name><!--  服务器监听器  屏蔽
<listener>
 <listener-class>com.macronet.pub.ContextListener</listener-class>
</listener>
 --> <context-param>
  <param-name>flag</param-name>
  <param-value>0</param-value>
 </context-param>
 <context-param>
  <param-name>dbfile</param-name>
  <param-value>filepath</param-value>
 </context-param> <filter>
   <filter-name>langFilter</filter-name>
   <filter-class>com.macronet.pub.filter.SetLangFilter</filter-class>
   <init-param>
   <param-name>lang</param-name>
   <param-value>2</param-value>
   </init-param>
  </filter>
 <filter>
<filter-name>rightfilteraction</filter-name>
<filter-class>
com.macronet.struts.RightFilterAction
</filter-class>
</filter> <filter-mapping>
<filter-name>rightfilteraction</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>rightfilteraction</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter> <filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping> <welcome-file-list>
<welcome-file>jsp/login.jsp</welcome-file>
</welcome-file-list>
</web-app>