Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 3356 invoked from network); 8 Dec 2000 13:07:49 -0000 Received: from ms1.purplenet.co.uk (HELO ms1.freezone.co.uk) (root@212.1.130.118) by locus.apache.org with SMTP; 8 Dec 2000 13:07:49 -0000 Received: from fz2 ( [195.188.42.68] (may be forged)) by ms1.freezone.co.uk (8.9.3/8.9.3) with SMTP id MAA06181; Fri, 8 Dec 2000 12:43:56 GMT From: "Affan Alim" To: Cc: Subject: RE: servelet problem Date: Fri, 8 Dec 2000 13:12:18 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 In-Reply-To: <003901c06112$ffdef000$954040c9@INDTS.COM> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thankyou very much for you reply. I am running Apache on Linux Redhat 6.2 so could you please guide me how to set this up on linux. Please send me again directory structure if you know. Thanks and regards "Affan" -----Original Message----- From: Subha Gowri K V [mailto:subha@indts.com] Sent: Friday, December 08, 2000 12:33 PM To: affanalim@freezone.co.uk Cc: tomcat-user@jakarta.apache.org Subject: RE: servelet problem Hi, We are assuming that you want to use tomcat to execute jsp and servlets. 1. Edit your server.xml file. 2. Add a new context like this: 3. Create a folder structure like c:\Program Files\Apache Group\Apache\htdocs\myproj 4. Edit Tomcat.conf. Add these lines Alias /myproj "C:\Program Files\Apache Group\apache\htdocs\myproj" ApJservMount /myproj/servlet /root AllowOverride None deny from all 5. In your apache's httpd.conf, include this line Include "C:\Tomcat\Tomcat\conf\Tomcat.conf" - or wherever your tomcat is installed. 6. Under htdocs\myproj, create a folder web-inf\classes. Put all your class files here. 7. Put all your jsp pages under htdocs\myproj. 8. You can now access your servlet as: http://localhost/myproj/servlet/SimpleServlet We got this solution from this mailing list too!! Regards, Subha -----Original Message----- From: Affan Alim [mailto:affanalim@freezone.co.uk] Sent: Friday, December 08, 2000 5:46 PM To: tomcat-user@jakarta.apache.org Subject: servelet problem Hi, When i write a servelet and make a class file and where i put it. What is the directory structure in apache web server. please send me directroy structure. "affan"