Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

How can i get the the data come from severlet?

Thread view: 
Adam Jiang - 02 Jun 2006 08:28 GMT
Hi,
That's the suituation.
There's a website using servlet to provide some information i need. I
can only get the html they provide for me. Their data will be update
every minite, but i can not stare at it and push "reload" button to get
the new data.
How can i get the data using a Java class from the website
automatically per minite without do the tedious work above.
Any idea?
Philipp Leitner - 02 Jun 2006 09:49 GMT
I am not sure if I understand what your problem is, but if it comes
down to reloading a certain page periodically HTML Refresh might be
your friend:

http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm

/philipp

> Hi,
> That's the suituation.
[quoted text clipped - 5 lines]
> automatically per minite without do the tedious work above.
> Any idea?
Adam Jiang - 02 Jun 2006 10:24 GMT
Thanks Philipp, I am sorry about my poor english :)
I mean i want get the data from a website periodically by a program
without refresh it again and again.

> I am not sure if I understand what your problem is, but if it comes
> down to reloading a certain page periodically HTML Refresh might be
[quoted text clipped - 13 lines]
> > automatically per minite without do the tedious work above.
> > Any idea?
Philipp Leitner - 02 Jun 2006 11:24 GMT
Still not sure what you're trying to say :-)

The "website" that you are referring to ... is this YOUR website, i.e.
the output of your servlet? Or is this some kind of third party website
that you periodically want to crawl? In that case, what "data" do you
want to get from the website?

/philipp

> Thanks Philipp, I am sorry about my poor english :)
> I mean i want get the data from a website periodically by a program
[quoted text clipped - 17 lines]
> > > automatically per minite without do the tedious work above.
> > > Any idea?
Oliver Wong - 02 Jun 2006 15:43 GMT
> Hi,
> That's the suituation.
[quoted text clipped - 5 lines]
> automatically per minite without do the tedious work above.
> Any idea?

   How is your Java class getting the data?

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.