Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 49987 invoked from network); 7 Nov 2002 10:34:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Nov 2002 10:34:24 -0000 Received: (qmail 18031 invoked by uid 97); 7 Nov 2002 10:35:05 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 17981 invoked by uid 97); 7 Nov 2002 10:35:04 -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 17969 invoked by uid 98); 7 Nov 2002 10:35:03 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20021107102725.47623.qmail@web12908.mail.yahoo.com> Date: Thu, 7 Nov 2002 10:27:25 +0000 (GMT) From: =?iso-8859-1?q?ben=20f?= Subject: Re: tomcat configuration for a newbie To: Tomcat Users List In-Reply-To: <3DCA330D.806@makmal.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-683619940-1036664845=:46969" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-683619940-1036664845=:46969 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Kwok Thanks for the reply. I've made some progress since I mailed. I put the servlet HelloWorldExample.class in webapps\phpserver\WEB-INF\classes then opened up http://localhost:8080/phpserver/helloworld (using the web.xml described in my last post). I got the following: java.util.MissingResourceException: Can't find bundle for base name LocalStrings, locale en_GB I assume I need to move something across from the examples directory into WEB-INF/class or WEB-INF/lib......I'll look into this. **Also, is there anyone out there who has sucessfully deployed a tomcat based webapp that runs php as a servlet????** If so, please supply version info. Thanks Ben Kwok Peng Tuck wrote:Make sure your servlets are either in /WEB-INF/lib (if in a jar ) or /WEB-INF/classes/ (if as .class) ben f wrote: >Hari >Good point, I see that my url-pattern entry of phpserver was incorrect. I've changed this now to your recommendation of: >helloworld >/helloworld >I then try http://localhost:8080/phpserver/servlet/helloworld but I still get a 404 error. >Does anyone else have ideas about this? I have a feeling my context entry in conf\server.xml is wrong. >To recap: >Context path: >>debug="99" reloadable="true" crossContext="false"> > > prefix="phpserver_log." suffix=".txt" > timestamp="true"/> > >webapps\phpserver\WEB-INF\web.xml: > > > > > php > net.php.servlet > > > > helloworld > HelloWorldExample > > > > php > *.php > > > > helloworld > /helloworld > > > > >Many thanks.......... >Ben > > > > >--------------------------------- >Get a bigger mailbox -- choose a size that fits your needs. > > > -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. --0-683619940-1036664845=:46969--