This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Java in General and the fly likes reading a dynamic page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "reading a dynamic page" Watch "reading a dynamic page" New topic

reading a dynamic page

atoshi chakraborty

Joined: Mar 27, 2005
Posts: 3
i want to read a dynamic page thru a java program. what i need to do?
will it be possible to do it with core java or some additional technology is required?
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
What type of dynamic page? I assume you mean a webpage, first of all. Is the dynamic page generated on the server side with ASP, CGI, JSP, etc.? Or is it dynamic through client side scripting with JavaScript or something similar? If it's the former, you can probably just read the body of the HTTP response the same as you do for static web pages. The later might be a bit trickier.


Java API Documentation
The Java Tutorial
It is sorta covered in the JavaRanch Style Guide.
subject: reading a dynamic page