I understand that when a resource on the webserver is requested, the browser sends the request headers and initiates a request to the web server. I wanted to know if we can trigger a GET or POST request manually to a servlet.(Not through browser or any other means).Please let me know if there is a possibility.
Thanks for the reply. I did the following to use telnet. Please correct me if I am missing something
(1)Opened telnet client from Start->Run->Telnet from windows. (2)Tried connecting to Tomcat server on the same machine as follows (i)telnet 172.24.17.22 8080. This showed me blank window (ii)telnet and then at the telnet prompt issued telnet command "o 172.24.17.22 8080". This said connecting to 172.24.... and then showed me a blank window.
I also tried replacing my machine IP address above by "localhost" and "md-bhaskar"(my machine hostname) but in vain. Please let me know if I need to do anything further.
Joined: Nov 29, 2005
That is all good and expected.
Did you try what ULF suggested ?
Once a successful connection is established , you will get a blank screen as you are getting now.
Paste the following code to get the home page of ROOT application of Tomcat.
Joined: Aug 03, 2006
Thank you Rahul and Ulf, it is working now.Appreciate your immediate reply and help