Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 8894 invoked from network); 22 Sep 2002 19:14:23 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Sep 2002 19:14:23 -0000 Received: (qmail 19317 invoked by uid 97); 22 Sep 2002 19:14:48 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 19275 invoked by uid 97); 22 Sep 2002 19:14:47 -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 19263 invoked by uid 98); 22 Sep 2002 19:14:47 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <002001c26253$b5b3eaf0$b37ba8c0@DavesToshiba> From: "Dave Ford" To: "Tomcat Users List" , References: Subject: Re: JSP working but Servlets not working Date: Sun, 22 Sep 2002 12:13:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Your action should be:
Dave Ford Smart Soft - The Developer Training Company http://www.smart-soft.com ----- Original Message ----- From: "Manoj Kithany" To: Sent: Sunday, September 22, 2002 2:53 PM Subject: JSP working but Servlets not working > Hi Experts, > > Greetings! > > I am using Apache 1.3.26 + (Jboss 3.0.3, Tomcat 4.0.4 bundle) > I treid to creat a small Web Application. My JSP files are WORKING properly > BUT when Servlet is called (from JSP Page), > I get "No Context COnfigured Error" > > My Directory structure is as follows: > /kithany (root) > /kithany/register.htm > /kithany/WEB-INF/web.xml > /kithany/WEB-INF/classes/HelloWorldExample.java > /kithany/WEB-INF/classes/HelloWorldExample.class > /kithany/META-INF/application.xml > > > I have my APPLICATION.XML file as follows: > ------------------------------------------------------------------------- > > > KITHANY > > > kithany.war > /kithany > > > > ------------------------------------------------------------------------- > > And, my WEB.XML file is as: > ------------------------------------------------------------------------- > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > HelloWorldExample > HelloWorldExample > > > > index.jsp > > > > ------------------------------------------------------------------------- > > My JSP file "register.jsp" is shown below. This file calls a SERVLET > HelloWorldExample.class when user clicks. > ------------------------------------------------------------------------- > > > > ...rest of the file is not shown..... > > ------------------------------------------------------------------------- > > > I then create WAR file as follows: > ------------------------------------------------------------------------- > #pwd > #/kithany > #jar -cvfM kithany.war . > ------------------------------------------------------------------------- > > Which I then, put it into /jboss/server/default/deploy and then start my > JBOSS(Tomcat/Catalina) Server and then on browser, I type following: > http://MY_IP_ADDR_ESS:8080/kithany/register.html which displays the file > correctly. When the user clicks SUBMIT, the file should call > HelloWorldExample.class file BUT it displays Error like: > > "Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process > this request" > > Experts, could you please guide me on to this. > > THANKS! > > Manoj G. Kithany > manojkithany108@hotmail.com > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: