tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh <j...@globalherald.net>
Subject Re: Re: How do I debug dispatching errors?
Date Mon, 26 Oct 2009 19:48:26 GMT
This is Tomcat 5.5.26 under Windows XP, Java version as follows:
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

Pid wrote:
> Which dispatcher?
Which dispatcher... can you help me out here?  According to the file 
noted below, when I give it the URL:

http://localhost:8080/CreateRelationship

...it will invoke the CreateRelationshipServlet which is

com.mycorp.referral.servlets.CreateRelationshipServlet

Whatever mechanism it is inside Tomcat that does this dispatching is not 
working as I expect it should... and it's not giving me any indication 
as to why.  (Or, I am not able to understand any indication it may be 
giving me.)

>> <?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>
>> <servlet>
>> <servlet-name>LoginServlet</servlet-name>
>> <servlet-class>com.mycorp.referral.servlets.LoginServlet</servlet-class>
>> <!-- <init-param>
>> <param-name>propertyFileNameLocation</param-name>
>> <param-value>C:/EclipseLib/FarmersQueue.properties</param-value>
>> </init-param>
>> -->
>> </servlet>
>> <servlet>
>> <servlet-name>CreateRelationshipServlet</servlet-name>
>> <servlet-class>com.mycorp.referral.servlets.CreateRelationshipServlet</servlet-class>

>>
>>
>> </servlet>
>> <servlet>
>> <servlet-name>ProcessActionServlet</servlet-name>
>> <servlet-class>com.mycorp.referral.servlets.ProcessActionServlet</servlet-class>

>>
>>
>> </servlet>
>> <servlet>
>> <servlet-name>UpdateRelationshipServlet</servlet-name>
>> <servlet-class>com.mycorp.referral.servlets.UpdateRelationshipServlet</servlet-class>

>>
>>
>> </servlet> <servlet-mapping>
>> <servlet-name>LoginServlet</servlet-name>
>> <url-pattern>/Login</url-pattern>
>> </servlet-mapping>
>> <servlet-mapping>
>> <servlet-name>CreateRelationshipServlet</servlet-name>
>> <url-pattern>/CreateRelationship</url-pattern>
>> </servlet-mapping>
>> <servlet-mapping>
>> <servlet-name>ProcessActionServlet</servlet-name>
>> <url-pattern>/ProcessAction</url-pattern>
>> </servlet-mapping> <servlet-mapping>
>> <servlet-name>UpdateRelationshipServlet</servlet-name>
>> <url-pattern>/UpdateRelationship</url-pattern>
>> </servlet-mapping> <welcome-file-list>
>> <welcome-file>Login.jsp</welcome-file>
>> </welcome-file-list>
>> </web-app>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message