Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help in java.net

 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I want to find websites hosted in the given server. when user enter his/her server/website name i should list all the website hosted in that domain. How can I do that any help
 
Henry Wong
author
Marshal
Pie
Posts: 20894
76
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if you can. A webserver can sit on any port. The pages can have any name. And the pages can behave differently with different query strings.

The best you can do is probably, given a top page on the host, to crawl through the pages to find all the pages linked to that one. That won't find any unrelated pages though.

Henry
 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI thanks for your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic