It's not a secret anymore!*
The moose likes Servlets and the fly likes Context Error ( help) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Context Error ( help) " Watch "Context Error ( help) " New topic
Author

Context Error ( help)

VIV sharma
Greenhorn

Joined: Jan 01, 2004
Posts: 18
URL :
http://vivek:8080/servlet/GetPassword
ERROR:
type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.

STRUCTURE OF WEB.XML :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>
SMS Client
</display-name>

<description>
CollegeE-Cube's SMS client
</description>

<servlet>
<servlet-name>Loginpage</servlet-name>
<jsp-file>/Loginpage.jsp</jsp-file>
</servlet>

<servlet>
<servlet-name>GetPassword</servlet-name>
<servlet-class>smsclient.GetPassword</servlet-class>
</servlet>

<!-- servlet mapping -->


<servlet-mapping>
<servlet-name>GetPassword</servlet-name>
<url-pattern>/servlet/GetPassword</url-pattern>
</servlet-mapping>
</web-app>

I Tried all posiible options, ant one working on jboss, please help on my problem.
thanks
keviv
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
Looks like confusion due to the use of the /servlet/ nomenclature to me.
IF you are going to provide a complete url-pattern mapping, don't use "/servlet" - see lots of discussion on the "invoker" servlet on this forum in the past.
Also - where did you put the web-xml and class files? Are you trying to run this as a separate "web application" or as part of another application?
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Context Error ( help)