wood burning stoves*
The moose likes Servlets and the fly likes HTTP web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP web server" Watch "HTTP web server" New topic
Author

HTTP web server

Chak Terlapu
Ranch Hand

Joined: Oct 20, 2000
Posts: 32
Hi guys,
I need to write a HTTP web server which responds to HTTP GET messages. Could anyone guide me how I can do this.
Thanks
chak
chetan nain
Ranch Hand

Joined: Jun 21, 2000
Posts: 159
refer JAVA2 complete reference by patrick naughton
caching http proxy server explained
Alagu Seenivasan
Greenhorn

Joined: Sep 30, 2000
Posts: 18
There is a good example with code in "Core Servlets and Java Server Pages" by "Marty Hall"
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
I am moving this thread to Servlets and JSP forum.
Ajith


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
There are plenty of examples to download, but if you don't want to just grab someone else's attempt, the best place to start is with the original HTTP RFC. Although wordy, this defines the basic behaviour of a http server. Writing something to just respond to simple GET requests should be no more that 20 lines of Java or so.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
jQuery in Action, 2nd edition
 
subject: HTTP web server
 
Similar Threads
Difference b/w Application server and web server
web servers and application servers
Http Server , Web Server and application Server
Web Server, Application Server...
Does Tomcat itself a Web Server?