用TimerTask不就可以么?为什么要那么麻烦?而且这和structs完全没有关系啦

解决方案 »

  1.   

    当然可以不在Struts下,这是一个WEB系统,自动任务定制怎么实现?
    就是说怎么为他专门开辟一个线程?
    因为Quartz定时比较准确所以采用他,TimerTask怎么用的?
      

  2.   

    换句话说,就算用TimerTask,怎么使用Servlet对他进行操作
      

  3.   

    Write your codes in the servlet,and set this servlet in your container for listen.
      

  4.   

    You can use Timer module for your program,I think it's well.
      

  5.   

    "Write your codes in the servlet,and set this servlet in your container for listen"?
    不解