• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Flying Through a page...reading the content...

 
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

I want to do something like,

Request for perticuler page.. than read the contents of that page... store it somewhere in a String variable

than search for perticuler name value pair in that string if the value is grater than perticuler value than that value will be mailed to perticuler person.

how do i do it ?

The Page which i want to request is http://localhost:8080/status

The String which i want to store is



The name value pair which i want to search in the string is



And if the value is grater than 70 than mail should go to System Admin

Please Advice me on same...I know how to request the page and how to send mail but i dont have any idea of how to read the content of the page...

The application should check the Thread Value every 5 mins... that can be done by putting the delay...or some michenism...
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try a Google search with keywords "Screen Scrape" or "screenscrape"

Moving to Sockets and Internet Protocols (not a servlet question).
 
reply
    Bookmark Topic Watch Topic
  • New Topic