tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Bremford" <>
Subject RE: Absolute URI ...
Date Wed, 19 Jul 2000 10:02:57 GMT
Hi Calvin

Assuming tomcat is a normal HTTP server, to specify which host you want try

POST /examples/servlet/myservlet HTTP/1.0

See the HTTP spec for more info -

Cheers.... Mike

-----Original Message-----
From: Calvin ChunChung Li []
Sent: 19 July 2000 00:04
To: Tomcat-User@Jakarta. Apache. Org
Subject: Absolute URI ...


    Does Tomcat support absoulte URI ?

     I used telnet post to try to invoke the servlet in tomcat ...
     i can invoke it if i do something like this
     telnet <my machine>  <port>
     POST  /examples/servlet/myservlet  HTTP/1.0

     but i will get http 400 invalid request if i do somthing like that
     telnet <my machine>  <port>
     POST  http://<my machine>:<port>/examples/servlet/myservlet

     I will appreaciate any ideas ...

View raw message