RSS Forums RSS
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1035 | Replies: 2
Reply
Join Date: Jul 2005
Posts: 2
Reputation: dmissai is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dmissai dmissai is offline Offline
Newbie Poster

Web Server

  #1  
Jul 21st, 2005
hey i am try to design webserver by using java /C++ programming or any programming language so if any one interesting to assist me i am attaching source code hear .you can use plugs in to access source code by using any programming language
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Posts: 56
Reputation: Sauce is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Sauce Sauce is offline Offline
Junior Poster in Training

Re: Web Server

  #2  
Jul 24th, 2005
Web servers are text based so they are rather simple.

For the basic version just...
Create it like any other client / server program. HTTP is a connection oriented protocol (been a while) so you will want to make sure to use that method to create your socket. After that is done all you need to know is what exactly the client will send you as a request (should be able to be found using google and the HTTP spec) and then write the code to read in a HTML file and send it over the network, which in java is pretty much the same as writing it to the hard drive...
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,749
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 19
Solved Threads: 200
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Web Server

  #3  
Jul 25th, 2005
Get O'Reilly's Java Network Programming book, it has a webserver as one of the easier examples
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:55 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC