How can i get the the data come from severlet?  
Author Message
Adam Jiang





PostPosted: 2006-6-2 15:28:00 Top

java-programmer, How can i get the the data come from severlet? 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





PostPosted: 2006-6-2 16:49:00 Top

java-programmer >> How can i get the the data come from severlet? 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

Adam Jiang wrote:
> 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?

 
Adam Jiang





PostPosted: 2006-6-2 17:24:00 Top

java-programmer >> How can i get the the data come from severlet? 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.

Philipp Leitner wrote:
> 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
>
> Adam Jiang wrote:
> > 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





PostPosted: 2006-6-2 18:25:00 Top

java-programmer >> How can i get the the data come from severlet? 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

Adam Jiang wrote:
> 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.
>
> Philipp Leitner wrote:
> > 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
> >
> > Adam Jiang wrote:
> > > 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?

 
 
Oliver Wong





PostPosted: 2006-6-2 22:44:00 Top

java-programmer >> How can i get the the data come from severlet?
"Adam Jiang" <email***@***.com> wrote in message
news:email***@***.com...
> 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?
>

How is your Java class getting the data?

- Oliver