aspose file tools*
The moose likes Java in General and the fly likes Need help in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need help in" Watch "Need help in" New topic

Need help in

Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

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

Java Best Practices
Linux Best Practices
Amortization Calculator

Henry Wong

Joined: Sep 28, 2004
Posts: 18113

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.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

HI thanks for your reply.
I agree. Here's the link:
subject: Need help in
Similar Threads
Socket Connection Client/Server..HELP!
Web Application (Folder creation)
Java Interview Questions
Count the number of times a webpage has been visited
Apache Web Server mapping of URL to index page of the Application