I want to use cron in my web-site. I use Cron to call scheduler which will do sms sending task at particular time in a day.I use cron startup class (StartCron.java) i use to call one java file StatCron from my web.xml. So i added
in Web.xml file. This web application is working fine on Local computer. i am using netbeans to run it. But when i upload this code on server. and restart tomcat, and try to access site i get "Ooops.. Link appears to be broken " error from browser.
I am using struts1.3.8, Netbeans 7, and linux hosting server having tomcat7.0.29 install in it.
Please if anybody have any idea about it please replay...
Which browser are you using? have you tried it on different browser.Clear cahce in the browser and then run.
I am feelings its more related to browser rather then struts.
posted 7 years ago
Thanks for your reply, jatan bhavsar...
I am using crome and mozilla browsers. But my web-site is not opening on it when i use listener in my web.xml file. When i remove this listener line from web.xml file then my application is working properly.