aspose file tools*
The moose likes Struts and the fly likes Oops.. Link Appears to be broken, getting error on server after updating web.xml (added <listener>) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Oops.. Link Appears to be broken, getting error on server after updating web.xml (added <listener>)" Watch "Oops.. Link Appears to be broken, getting error on server after updating web.xml (added <listener>)" New topic
Author

Oops.. Link Appears to be broken, getting error on server after updating web.xml (added <listener>)

Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 45
hi friends,
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...
jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 296

Hi Vinod,

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.

Regards
Jatan
Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 45
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oops.. Link Appears to be broken, getting error on server after updating web.xml (added <listener>)
 
Similar Threads
Context [/HibernateTest] startup failed due to previous errors
how to reload context of the application using JavaMelody?
How to prevent a memory leak in quartz
error build-impl.xml:577:
suggestion ways of setting up a cron on windows plateform