-5

Possible Duplicate:
How to send HTTP request in java?

I have a basic query that I want to write a core Java program that will make a http request.

Let say it will hit and open any website, so how can I write this core java program that will hit the and open any website. I am fully aware that this thing can be achieved with servlets and other advanced framework, also but I want to do it with core Java program.

Please advise how this thing can be achieved in Java?

3

1 Answer 1

1

You should look at HttpComponents. If you just want to do it with the technology that comes within the JDK, you should look at URLConnection.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.