Auto loading a jsp file

Reply

Join Date: Feb 2006
Posts: 18
Reputation: techkar is an unknown quantity at this point 
Solved Threads: 1
techkar's Avatar
techkar techkar is offline Offline
Newbie Poster

Auto loading a jsp file

 
0
  #1
Aug 1st, 2006
Hi experts,

Here there is a requirement like autoloading a jsp file, once a day without any human intervention. A JSP file should be executed daily at a particular time automatically.

I'm using

Web Server:Tomcat 5

If there is any logic or idea regarding the same is appriciated.

Regards,
techkar
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,087
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: Auto loading a jsp file

 
0
  #2
Aug 8th, 2006
If you were to do this with a Linux server you could set up a cron job that executes the file you want.
On windows you would use the windows task scheduler..

I use this for php, so I guess it should be the same for jsp, no matter what server you're using.

The command to run on linux would look soemthing like:
wget -q http://www.yourdomain.com/yourscript.jsp > /dev/null
Last edited by digital-ether; Aug 8th, 2006 at 5:56 pm.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JSP Forum


Views: 2715 | Replies: 1
Thread Tools Search this Thread



Tag cloud for JSP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC