• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting HTML source  RSS feed

 
vivek ja
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement where I have a Html and i want to do a view source on that and get the html code as a string.
How can I do a view source from my Java program?

Thank you!
[ April 15, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As this is not an HTML question per se, I'm going to move this along to the Networking forum with an appropriate title change.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the java.net.URL and java.net.UrlConnection classes.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!