"Siak Keong, Cheong" wrote:
> I'm trying to see whether it's possible to run tomcat 3.2.1 standalone
> without tying it to any web server.
> I found in server.xml the HttpConnectionHandler which is preconfigured
> against port 8080. I could see from the init message of tomcat that this
> connector is running. But when I try access it it via
> http://myhost:8080/mywebapp/index.jsp , I can't get it to return anything. I
> even try telnet to port 8080 and then issue the http GET command, it still
> can't trigger my jsp.
>
> How is this HttpConnectionHandler used ? What am I doing wrong (or supposed
> to do) ?
>
You should not have to worry about the connection handler parameters -- port
8080 is fine.
In order for the URL above to work, you should have placed your webapp in
directory "$TOMCAT_HOME/webapps/mywebapp", and your webapp must have the
directory structure that is specified in the Servlet Specification, version 2.2,
available at <http://java.sun.com/products/servlet/download.html>.
In addition, Tomcat 3.2.1 includes an "Application Developer's Guide" document
that describes how to put together a web app -- point your browser at file
"$TOMCAT_HOME/doc/appdev/index.html".
Craig McClanahan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]