Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Writing a Java application to send/receive HTTP Requests

Thread view: 
davidjdoherty@gmail.com - 07 Dec 2005 13:51 GMT
Hi,
  I would like to write a program that can send and receive HTTP
requests. Basically the first page received from the server will
contain a form and I want the user to be able to enter form data via my
app and then send the request off to the server.

I know about developing java applications, but have had very little
experience with dealing with HTTP requests in Java. Can anyone point me
to a good tutorial, example or resource that could give me the basics?

Cheers,
David
abigale_carson@yahoo.com - 07 Dec 2005 13:56 GMT
Here's Sun's tutorial on working with URLs:

http://java.sun.com/docs/books/tutorial/networking/urls/index.html

--or--

http://linkfrog.net/daa9

Abigale
Rémi Bastide - 07 Dec 2005 14:02 GMT
> Hi,
>    I would like to write a program that can send and receive HTTP
[quoted text clipped - 5 lines]
> experience with dealing with HTTP requests in Java. Can anyone point me
> to a good tutorial, example or resource that could give me the basics?

For the client-side, Jakarta HTTPClient class is very good.
http://jakarta.apache.org/commons/httpclient/
(I've had problems accessing this site recently, though)
Signature

Rémi Bastide
http://liihs.irit.fr/bastide

Viator - 07 Dec 2005 14:10 GMT
Have a look at

jakarta.apache.org/commons/httpclient/

Amit :-)
davidjdoherty@gmail.com - 07 Dec 2005 16:26 GMT
Ah, this looks like it could be the crisp monkey. The java sun tutorial
didn't quite have enough depth, but after a quick dally whatsananny,
the jakarta site looks like it might have everything I need.

Many thanks.
Roedy Green - 07 Dec 2005 20:00 GMT
> Can anyone point me
>to a good tutorial, example or resource that could give me the basics?

by far the best book is Core Web Programming by Marty Hall.
See http://mindprod.com/jgloss/cgi.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.