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 56493 invoked from network); 14 Nov 2000 05:48:53 -0000 Received: from unknown (HELO silicomp.com.sg) (203.117.145.12) by locus.apache.org with SMTP; 14 Nov 2000 05:48:53 -0000 Received: from eng057 [192.168.0.33] by silicomp.com.sg [203.117.145.12] with SMTP (MDaemon.v3.1.2.R) for ; Tue, 14 Nov 2000 14:01:22 +0800 Message-ID: <000e01c04e00$f36912d0$2100a8c0@silicomp.com.sg> From: "Rasika" To: Subject: difficulty in running servlets Date: Tue, 14 Nov 2000 14:05:55 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C04E44.017A0350" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-MDRcpt-To: tomcat-user@jakarta.apache.org X-MDRemoteIP: 192.168.0.33 X-Return-Path: ras@silicomp.com.sg X-MDaemon-Deliver-To: tomcat-user@jakarta.apache.org X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C04E44.017A0350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have installed TOMCAT with Apache. I followed your user guide and then = tomcat faqs to install tomcat. Now I am able to run .jsp files using both tomcat as well as Apache. I = can also run sample servlet provided alongwith examples. But I cannot = run my own servlet. I have stored itin webapps/root/web-inf/classes directory.=20 I still don't understand which files need to be configured in order to = run my servlets? =20 I have added following block to web.xml file hi hi =20 where "hi" is the name of my servlet file. But when I try to run it = through browser giving command http://localhost:8040//hi where 8040 is = apache port(which I have changed ) it gives me 404 error. =20 Can you please help me in configuring files so as to run my own = servlets? =20 Thanks, Rasikaj ------=_NextPart_000_000B_01C04E44.017A0350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I have installed TOMCAT with = Apache. I=20 followed your user guide and then tomcat faqs to install tomcat.
Now = I am=20 able to run .jsp files using both tomcat as well as Apache. I can also = run=20 sample servlet provided alongwith examples. But I cannot run my own=20 servlet.
I have stored itin webapps/root/web-inf/classes directory. =
I=20 still don't understand which files need to be configured in order to run = my=20 servlets?
 
I have added following block to web.xml=20 file
<servlet>
     =20 <servlet-name>hi</servlet-name>
    &n= bsp;=20 <servlet-class>hi</servlet-class>
   =20 </servlet>
 
where "hi" is the name of my servlet file. = But=20 when I try to run it through browser giving command http://localhost:8040//hi where = 8040 is=20 apache port(which I have changed ) it gives me 404 = error.
 
Can you=20 please help me in configuring files so as to run my own=20 servlets?
 
Thanks,
Rasikaj
------=_NextPart_000_000B_01C04E44.017A0350--