tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Kithany" <>
Subject JSP working but Servlets not working
Date Sun, 22 Sep 2002 18:43:28 GMT
Hi Experts,


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)

I have my APPLICATION.XML file as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>

And, my WEB.XML file is as:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      <welcome-file> index.jsp </welcome-file>

My JSP file "register.htm" is shown below. This file calls a SERVLET 
HelloWorldExample.class when user clicks.
<form action="/HelloWorldExample" method=post>
<table cellpadding=4 cellspacing=2 border=0>
<th bgcolor="#CCCCFF" colspan=2>
<font size=5>USER REGISTRATION</font>
<font size=1><sup>*</sup> Required Fields</font>
<tr bgcolor="#c8d8f8">
<td valign=top>
<b>First Name<sup>*</sup></b> of the file is not shown.....

I then create WAR file as follows:
#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.


Manoj G. Kithany

Send and receive Hotmail on your mobile device:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message