aspose file tools*
The moose likes JSP and the fly likes To run a JSP in a fixed interval Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "To run a JSP in a fixed interval" Watch "To run a JSP in a fixed interval" New topic
Author

To run a JSP in a fixed interval

Swosti Dipan Pal
Ranch Hand

Joined: Sep 23, 2005
Posts: 70
Hi,

I have a JSP file. I need to schedule this file to run in a fxed interval. e.g at the first day of each month. Please advise

Cheers,
-Biswa


Thanks<br />-Swosti
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

Please take the time to post your questions in the appropriate forum. This forum is for questions on advanced java. We have a forum for JSP questions that this post has been moved to.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

That makes little sense on the surface.

Where is it to run from? A browser? The command line?

Where will the response be shown?
Swosti Dipan Pal
Ranch Hand

Joined: Sep 23, 2005
Posts: 70
It's a process which will read files from one location and place it in a particular location periodically.

Cheers,
-Biswa
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

That doesn't answer any of my questions.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
JSP are executed by a servlet container in response to a HTTP request.

You can generate a HTTP request from an independent Java (or other language) program and do what you like with the response. This requires NO special JSP programming.

Does that sound like what you want?

Bill
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
I have a JSP file. I need to schedule this file to run in a fxed interval. e.g at the first day of each month. Please advise

Why do you want to do this as a JSP? Shouldn't a standalone java class be sufficient for your requirements?


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To run a JSP in a fixed interval