Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 45739 invoked from network); 5 Apr 2003 19:12:23 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 5 Apr 2003 19:12:23 -0000 Received: (qmail 8177 invoked by uid 97); 5 Apr 2003 19:14:18 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 8170 invoked from network); 5 Apr 2003 19:14:17 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 5 Apr 2003 19:14:17 -0000 Received: (qmail 44256 invoked by uid 500); 5 Apr 2003 19:12:10 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 44245 invoked from network); 5 Apr 2003 19:12:10 -0000 Received: from f54.sea1.hotmail.com (HELO hotmail.com) (207.68.163.54) by daedalus.apache.org with SMTP; 5 Apr 2003 19:12:10 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 5 Apr 2003 11:12:14 -0800 Received: from 168.179.102.118 by sea1fd.sea1.hotmail.msn.com with HTTP; Sat, 05 Apr 2003 19:12:14 GMT X-Originating-IP: [168.179.102.118] X-Originating-Email: [manojkithany108@hotmail.com] From: "Manu Kits" To: tomcat-user@jakarta.apache.org Bcc: Subject: Simple Web App Deployment Issue Date: Sat, 05 Apr 2003 19:12:14 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Apr 2003 19:12:14.0512 (UTC) FILETIME=[44611B00:01C2FBA7] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello everyone, I am using JBoss with Tomcat Catalina and Apache Web Server on UNIX. My Web App name is "HARI" which has following structure: /hari/index.jsp /hari/hari.war /hari/WEB-INF/web.xml /hari/WEB-INF/classes/login.class /hari/WEB-INF/classes/process.class /hari/WEB-INF/classes/main.class /hari/META-INF/application.xml My WEB.XML file is: ----------------------------------------------------------------------------- login /login/* process /process/* main /main/* process /process/* login /login/* main /main/* ----------------------------------------------------------------------------- This is a very basic WEB APP which checks for USerName/Password. I run my app as http://hariom.com/hari/login and it used to work great. Now, my Web App is getting complex with more Servlets etc.... and so I am thinking of using Sub Directories. So now I have.(created directory SHIVA and organized the servlets) /hari/index.jsp /hari/hari.war /hari/WEB-INF/web.xml /hari/WEB-INF/classes/shiva/login.class /hari/WEB-INF/classes/shiva/process.class /hari/WEB-INF/classes/shiva/main.class /hari/META-INF/application.xml So, now what changes do I have to make to WEB.XML? How do I invoke my Web App? Should I use http://hariom.com/hari/shiva/login or http://hariom.com/hari/shiva.login Do I have to ADD "package shiva" in every servlets...? what other changes do I have to make to make it work? Thanks! _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org