Hi Sri, Here's a step-by-step setup on how to install Tomcat 4.0
1) Download the latest Release build of Tomcat from their website at: http://jakarta.apache.org/site/bin/index.html and unzip that file. 2) Create a tomcat directory like: C:\tomcat\jakarta-tomcat-4.0.1 3) Create an environment variable called TOMCAT_HOME and point it to your tomcat directory(C:\tomcat\jakarta-tomcat-4.0.1) 4) Set the environment variable called TOMCAT_HOME and point it to the root directory of your JDK hierarchy. NOTE: Tomcat and other Servlet containers require the Java compilation tools normally packaged with the JDK to compile the generated servlets. 5) Set the %PATH% environment variable to include Java interpreter (java.exec) 6) Start Tomcat using startup.bat located in the %TOMCAT_HOME%\bin directory. So go to %TOMCAT_HOME%\bin and invoke the batch script like this: C:\tomcat\jakarta-tomcat-4.0.1\bin> startup You should see a console window popup with several messages on it like this: Starting tomcat Check logs/tomcat.log for error messages 2002-03-03 06:52:19 - ContextManager: Adding context CTX( ) 2002-03-03 06:52:19 - ContextManager: Adding context CTX(/test ) *** 7) To ensure that Tomcat is running properly, start a Web browser and enter the URL: http://localhost:8080. You should see a page on your browser having the Tomcat logo (a tiger caricature icon on upper left side of web page) NOTE: By default, Tomcat runs on network port 8080. The default documentation root for Tomcat is that of the "ROOT" Web application and is physically located at the %TOMCAT_HOME%\webapps\ROOT. 8) To shutdown Tomcat, use the script shutdown.bat located at %TOMCAT_HOME%\bin. This shuts down Tomcat and removes the Tomcat console window. There is a cool book called JSP: A Beginners Guide by Gary Bollinger and Bharathi Natarajan Price: $29.99 Osborne Publishers. It gets you up and running right away by doing tons of JSP web application exercises from JSP data security to database management. Peace. Tony, >From: Sri Priya <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Please Guide me How To Start With JSP >Date: Sun, 3 Feb 2002 08:18:54 -0700 > >HI , I am beginner to JSP Mailing List. I have downloaded jdk 1.2.2 and >Apache Tomcat 4.0 , I dunno how to start ...can anyone guide me how to >start developing. I need this for my final year project. > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com Tony, [EMAIL PROTECTED] _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
