This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes How I need to submit information to a sevlete repeatedly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How I need to submit information to a sevlete repeatedly" Watch "How I need to submit information to a sevlete repeatedly" New topic
Author

How I need to submit information to a sevlete repeatedly

Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Hi,

I have to submit a set of information to a servlet repeatedly at specific time intervals?


How do I do this? URLConnection? or thru any other technology

Regards


Sarath Mohan
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

You could...

But why do you need to do this? If it's related to testing (or even if it's not, this may provide you with something you can use) you can look into combining HttpUnit and JUnitPerf. Both are extensions of the JUnit framework - HttpUnit provides classes for easily working with HTTP requests/responses, and JUnitPerf deals with performance related topics, but would mainly be interesting to you because it provides an easy way to repeat tests on a schedule.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How I need to submit information to a sevlete repeatedly