struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 赵 平 <>
Subject how to automatically forward user's page to a html link at speified time
Date Fri, 12 Mar 2004 16:18:20 GMT
Hi, all
    I want the struts application have an internal timer. When the 
specified time(like 9:00pm) arrive, the user's current page should be 
forwarded to another html link. I know the java.util.timer and 
java.util.TimerTask can do such thing. Maybe I can put the timer class 
stuff in HttpSessionListener or ServletContextListener, but I just have no 
idea how to forward a page inside the TimerTask class not inside action as 

    So did anyone come across the similar problem? Could you shed me light 
on it?

    Thanks in Advance.

Best Regards,

免费下载 MSN Explorer:  

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message