Computing.Net > Forums > Programming > testing webserver on local host

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

testing webserver on local host

Reply to Message Icon

Name: priti
Date: February 20, 2004 at 17:23:09 Pacific
OS: win 2000
CPU/Ram: P3 64MB
Comment:

Hi,
I've implementd simple web server in Java.
I would like to test this server on localhost.
I'm doing following steps to execute the prog
java webserver portnumber
Now, I want to pass the request, which this server parses and then displays the method name, headers and body of the request.
Now, where should I give this type of request:
GET http://localhost:portnumber/www.jkl.edu/index.html HTTP/1.1
Any help will be greatly appreciate.
Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: champzz
Date: February 24, 2004 at 15:41:55 Pacific
Reply:

you should be able to enter
http://localhost:portnumber?var1=val1&var2=val2 in your web browser.

The stuff should be automatically printed by your webserver


0
Reply to Message Icon

Related Posts

See More


Java strings Coders Hangout



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: testing webserver on local host

Helphelp help for a Local Host Lock www.computing.net/answers/programming/helphelp-help-for-a-local-host-lock/6691.html

Need help to make a Local Host Lock www.computing.net/answers/programming/need-help-to-make-a-local-host-lock/6769.html

test on xp please www.computing.net/answers/programming/test-on-xp-please/19213.html