how to access a specific web page using telnet?

Y

ypjofficial

Hello All,

I want to retrieve a speicific webpage located on the webserver using
telnet.
(lets say ROOT/2006/data/view.html. I am using tomcat server)
What should be the syntax of the Get request to do the same.?

Thanks and Regards,
Yogesh Joshi
 
P

Paul R. Sadowski [MVP]

Hello, (e-mail address removed)!
You wrote on 6 Feb 2006 14:01:01 -0800:

y> Hello All,

y> I want to retrieve a speicific webpage located on the webserver using
y> telnet.
y> (lets say ROOT/2006/data/view.html. I am using tomcat server)
y> What should be the syntax of the Get request to do the same.?

telnet webserver.org 80
GET /ROOT/2006/data/view.html HTTP/1.0
<CR>
<CR>

where <CR> means hit your ENTER/Return key

If the server does virtual hosting:
telnet webserver.org 80
GET /ROOT/2006/data/view.html HTTP/1.0
Host: servername.org
<CR>
<CR>

With best regards, Paul R. Sadowski [MVP]. E-mail: (e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top