Try using http://localhost:8080/servlet/MyTestServlet If you're using tomcat and have not changed the default port, you'll have to use port 8080 as above. Clifford ECIS Gast <[EMAIL PROTECTED]> on 12/18/2000 04:45:38 PM Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: (bcc: Clifford Okoro/Harrow/Ladbrokes) Subject: Standalone Tomcat
Dear Ladies and Gentleman, i have a problem to run Tomcat 3.2.1 as Standalone-Server, i mean wihout a Web-Server. I can start the Tomcat-Server, but i can't execute the servlets in the webbrowser (for example with command "http://localhost/servlet/MyTestServlet "). Reportedly to the Guideline of Tomcat 3.2.1 its possible to run it without a WebServer. Stand-alone servlet containers These are an integral part of the web server. This is the case when using a Java-based web server, for example the servlet container that is part of the JavaWebServer. Stand-alone is the default mode used by Tomcat. Most web servers, however, are not Java-based, which leads us to the next two container types and How Do I Install the Binary Version of Tomcat? Very simple. You should: * Download the zip/tar.gz/whatever file from < http://jakarta.apache.org/downloads/binindex.html>. * Unzip the file into some directory (say foo). This should create a new subdirectory named "tomcat". * Change directory to "tomcat" and set a new environment variable (TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy. On Win32 you should type: "set TOMCAT_HOME=foo\tomcat" On UNIX you should type: for bash/sh "TOMCAT_HOME=foo/tomcat ; export TOMCAT_HOME" for tcsh "setenv TOMCAT_HOME foo/tomcat" * Set the environment variable JAVA_HOME to point to the root directory of your JDK hierarchy, then add the Java interpreter to your PATH environment variable. That's it! You can now execute Tomcat and it will run as a stand-alone (type 1) servlet container. I execute this steps (for Windows), but i can't execute the servlets. What must i do? Regards Sadettin Özdil ______________________________________________________________________ This communication and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received it in error please notify the sender or [EMAIL PROTECTED] or telephone +44 (0)20 8868 8899. The unauthorised use, disclosure, copying or alteration of this message is forbidden. Ladbrokes Limited will not be liable for direct, special, indirect or consequential damage as a result of any virus being passed on, or arising from alteration of the contents of this message by a third party. Please note that in replying to this mail, you are granting the right for that reply to be forwarded to any other individual and to be read by a surrogate in the event that the intended recipient is out of the office or is no longer employed by the company. Any views expressed by an individual within this message do not necessarily reflect the views of the firm.