This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "reading a dynamic page" Watch "reading a dynamic page" New topic
Author

reading a dynamic page

atoshi chakraborty
Greenhorn

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.

Layne


Java API Documentation
The Java Tutorial
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: reading a dynamic page