Ray:
Here is the web.xml file, my servelt is
called 'SimpleServlet' I edited the file
manually - all the other
servlets run except any new one I put
in. i.e. SimpleServlet. The class is in
the correct folder, I stopped & started JRun.
Maybe its because I am using (trying to)
an application JRun server - does it
need to be registered somewhere else?
<?xml version="1.0" encoding="UTF-8"?>
<!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>GST</display-name>
<description>Mercedes GST Long Lead Program</description>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<session-config>
<session-timeout>20</session-timeout>
</session-config>
<context-param>
<param-name>generalPropertiesFile</param-name>
<param-value>properties/general.properties</param-value>
</context-param>
<servlet>
<servlet-name>Log4jInitialiserServlet</servlet-name>
<display-name>Log4jInitialiserServlet</display-name>
<description />
<servlet-class>common.servlet.Log4jInitialiserServlet</servlet-class>
<init-param>
<param-name>log4j.properties</param-name>
<param-value>properties/log4j.properties</param-value>
</init-param>
<init-param>
<param-name>watchForChanges</param-name>
<param-value>yes</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<url-pattern>/Log4jInitialiser</url-pattern>
<servlet-name>Log4jInitialiserServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RegistrationStepOneServlet</servlet-name>
<display-name>RegistrationStepOneServletDisplayName</display-name>
<description />
<servlet-class>gst.servlet.RegistrationStepOneServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Reg</url-pattern>
<servlet-name>RegistrationStepOneServlet.class</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>SimpleServlet</servlet-name>
<display-name>SimpleServlet</display-name>
<description />
<servlet-class>gst.servlet.SimpleServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/SimpleServlet</url-pattern>
<servlet-name>SimpleServlet.class</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>AddCompletedSurveyServlet</servlet-name>
<display-name>AddCompletedSurveyServlet</display-name>
<description />
<servlet-class>gst.servlet.AddCompletedSurveyServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/AddCompletedSurvey</url-pattern>
<servlet-name>AddCompletedSurveyServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>CheckForCompletedSurveyServlet</servlet-name>
<display-name>CheckForCompletedSurveyServlet</display-name>
<description />
<servlet-class>gst.servlet.CheckForCompletedSurveyServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/CheckForCompletedSurvey</url-pattern>
<servlet-name>CheckForCompletedSurveyServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>ConfirmEmailUpdatesServlet</servlet-name>
<display-name>ConfirmEmailUpdatesServlet</display-name>
<description />
<servlet-class>gst.servlet.ConfirmEmailUpdatesServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/ConfirmEmailUpdates</url-pattern>
<servlet-name>ConfirmEmailUpdatesServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>ConfirmTellAFriendServlet</servlet-name>
<display-name>ConfirmTellAFriendServlet</display-name>
<description />
<servlet-class>gst.servlet.ConfirmTellAFriendServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/ConfirmTellAFriend</url-pattern>
<servlet-name>ConfirmTellAFriendServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>ContactUsServlet</servlet-name>
<display-name>ContactUsServlet</display-name>
<description />
<servlet-class>gst.servlet.ContactUsServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/ContactUs</url-pattern>
<servlet-name>ContactUsServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>ForgotPasswordServlet</servlet-name>
<display-name>ForgotPasswordServlet</display-name>
<description />
<servlet-class>gst.servlet.ForgotPasswordServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/ForgotPassword</url-pattern>
<servlet-name>ForgotPasswordServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>GetCustomUserDataServlet</servlet-name>
<display-name>GetCustomUserDataServlet</display-name>
<description />
<servlet-class>gst.servlet.GetCustomUserDataServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/GetCustomUserData</url-pattern>
<servlet-name>GetCustomUserDataServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>LoginServlet</servlet-name>
<display-name>LoginServlet</display-name>
<description />
<servlet-class>gst.servlet.LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Login</url-pattern>
<servlet-name>LoginServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>LogoutServlet</servlet-name>
<display-name>LogoutServlet</display-name>
<description />
<servlet-class>gst.servlet.LogoutServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Logout</url-pattern>
<servlet-name>LogoutServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RegisterServlet</servlet-name>
<display-name>RegisterServlet</display-name>
<description />
<servlet-class>gst.servlet.RegisterServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Register</url-pattern>
<servlet-name>RegisterServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RetrieveCountriesServlet</servlet-name>
<display-name>RetrieveCountriesServlet</display-name>
<description />
<servlet-class>gst.servlet.RetrieveCountriesServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RetrieveCountries</url-pattern>
<servlet-name>RetrieveCountriesServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RetrieveMakesServlet</servlet-name>
<display-name>RetrieveMakesServlet</display-name>
<description />
<servlet-class>gst.servlet.RetrieveMakesServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RetrieveMakes</url-pattern>
<servlet-name>RetrieveMakesServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RetrieveModelsServlet</servlet-name>
<display-name>RetrieveModelsServlet</display-name>
<description />
<servlet-class>gst.servlet.RetrieveModelsServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RetrieveModels</url-pattern>
<servlet-name>RetrieveModelsServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RetrieveSurveyServlet</servlet-name>
<display-name>RetrieveSurveyServlet</display-name>
<description />
<servlet-class>gst.servlet.RetrieveSurveyServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RetrieveSurvey</url-pattern>
<servlet-name>RetrieveSurveyServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RetrieveTitles1Servlet</servlet-name>
<display-name>RetrieveTitles1Servlet</display-name>
<description />
<servlet-class>gst.servlet.RetrieveTitles1Servlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RetrieveTitles1</url-pattern>
<servlet-name>RetrieveTitles1Servlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RetrieveTitles2Servlet</servlet-name>
<display-name>RetrieveTitles2Servlet</display-name>
<description />
<servlet-class>gst.servlet.RetrieveTitles2Servlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RetrieveTitles2</url-pattern>
<servlet-name>RetrieveTitles2Servlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RequestNewPasswordServlet</servlet-name>
<display-name>RequestNewPasswordServlet</display-name>
<description />
<servlet-class>gst.servlet.RequestNewPasswordServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RequestNewPassword</url-pattern>
<servlet-name>RequestNewPasswordServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>SetCustomUserDataServlet</servlet-name>
<display-name>SetCustomUserDataServlet</display-name>
<description />
<servlet-class>gst.servlet.SetCustomUserDataServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/SetCustomUserData</url-pattern>
<servlet-name>SetCustomUserDataServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>SendECardServlet</servlet-name>
<display-name>SendECardServlet</display-name>
<description />
<servlet-class>gst.servlet.SendECardServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/SendECard</url-pattern>
<servlet-name>SendECardServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>StatusServlet</servlet-name>
<display-name>StatusServlet</display-name>
<description />
<servlet-class>gst.status.StatusServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Status</url-pattern>
<servlet-name>StatusServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>StoreSurveyAnswerServlet</servlet-name>
<display-name>StoreSurveyAnswerServlet</display-name>
<description />
<servlet-class>gst.servlet.StoreSurveyAnswerServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/StoreSurveyAnswer</url-pattern>
<servlet-name>StoreSurveyAnswerServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>TellAFriendServlet</servlet-name>
<display-name>TellAFriendServlet</display-name>
<description />
<servlet-class>gst.servlet.TellAFriendServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/TellAFriend</url-pattern>
<servlet-name>TellAFriendServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>UnsubscribeFromEmailUpdatesServlet</servlet-name>
<display-name>UnsubscribeFromEmailUpdatesServlet</display-name>
<description />
<servlet-class>gst.servlet.UnsubscribeFromEmailUpdatesServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/UnsubscribeFromEmailUpdates</url-pattern>
<servlet-name>UnsubscribeFromEmailUpdatesServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>UpdateUserDataServlet</servlet-name>
<display-name>UpdateUserDataServlet</display-name>
<description />
<servlet-class>gst.servlet.UpdateUserDataServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/UpdateUserData</url-pattern>
<servlet-name>UpdateUserDataServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>NewsletterEmailLinkConfirm</servlet-name>
<display-name>NewsletterEmailLinkConfirm</display-name>
<description />
<servlet-class>gst.servlet.NewsletterEmailLinkConfirm</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/NewsletterEmailLinkConfirm</url-pattern>
<servlet-name>NewsletterEmailLinkConfirm</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>NewsletterEmailLinkUnsubscribe</servlet-name>
<display-name>NewsletterEmailLinkUnsubscribe</display-name>
<description />
<servlet-class>gst.servlet.NewsletterEmailLinkUnsubscribe</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/NewsletterEmailLinkUnsubscribe</url-pattern>
<servlet-name>NewsletterEmailLinkUnsubscribe</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RegisterEmailLinkConfirm</servlet-name>
<display-name>RegisterEmailLinkConfirm</display-name>
<description />
<servlet-class>gst.servlet.RegisterEmailLinkConfirm</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RegisterEmailLinkConfirm</url-pattern>
<servlet-name>RegisterEmailLinkConfirm</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RegisterEmailLinkConfirmNewsletter</servlet-name>
<display-name>RegisterEmailLinkConfirmNewsletter</display-name>
<description />
<servlet-class>gst.servlet.RegisterEmailLinkConfirmNewsletter</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RegisterEmailLinkConfirmNewsletter</url-pattern>
<servlet-name>RegisterEmailLinkConfirmNewsletter</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>RegisterEmailLinksUnsubscribe</servlet-name>
<display-name>RegisterEmailLinksUnsubscribe</display-name>
<description />
<servlet-class>gst.servlet.RegisterEmailLinksUnsubscribe</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RegisterEmailLinksUnsubscribe</url-pattern>
<servlet-name>RegisterEmailLinksUnsubscribe</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>TrackerServlet</servlet-name>
<display-name>TrackerServlet</display-name>
<description />
<servlet-class>gst.servlet.TrackerServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Tracker</url-pattern>
<servlet-name>TrackerServlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>UpdateUserDataServlet2</servlet-name>
<display-name>UpdateUserDataServlet2</display-name>
<description />
<servlet-class>gst.servlet.UpdateUserDataServlet2</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/UpdateUserData2</url-pattern>
<servlet-name>UpdateUserDataServlet2</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>Login2Servlet</servlet-name>
<display-name>Logi2nServlet</display-name>
<description />
<servlet-class>gst.servlet.Login2Servlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Login2</url-pattern>
<servlet-name>Login2Servlet</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>DisplayUserData</servlet-name>
<display-name>DisplayUserData</display-name>
<description />
<servlet-class>gst.servlet.DisplayUserDataServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/DisplayUserData</url-pattern>
<servlet-name>DisplayUserData</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>DisplayUserDataServlet</servlet-name>
<display-name>DisplayUserDataServlet</display-name>
<description />
<servlet-class>gst.servlet.DisplayUserDataServlet</servlet-class>
</servlet>
<distributable>false</distributable>
<servlet>
<servlet-name>RegisterServlet2</servlet-name>
<display-name>RegisterServlet2</display-name>
<description />
<servlet-class>gst.servlet.RegisterServlet2</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/Register2</url-pattern>
<servlet-name>RegisterServlet2</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>EmailLinkConfirm</servlet-name>
<display-name>EmailLinkConfirm</display-name>
<description />
<servlet-class>gst.servlet.NewsletterEmailLinkConfirm</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/EmailLinkConfirm</url-pattern>
<servlet-name>EmailLinkConfirm</servlet-name>
<is-default>false</is-default></servlet-mapping>
<servlet>
<servlet-name>EmailLinkUnsubscribe</servlet-name>
<display-name>EmailLinkUnsubscribe</display-name>
<description />
<servlet-class>gst.servlet.NewsletterEmailLinkUnsubscribe</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/EmailLinkUnsubscribe</url-pattern>
<servlet-name>EmailLinkUnsubscribe</servlet-name>
<is-default>false</is-default></servlet-mapping>
<distributable>false</distributable>
<servlet>
<servlet-name>EmailLinkConfirmNewsletter</servlet-name>
<display-name>EmailLinkConfirmNewsletter</display-name>
<description />
<servlet-class>gst.servlet.RegisterEmailLinkConfirmNewsletter</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/EmailLinkConfirmNewsletter</url-pattern>
<servlet-name>EmailLinkConfirmNewsletter</servlet-name>
<is-default>false</is-default></servlet-mapping>
<servlet-mapping>
<url-pattern>/SendWelcomeEmail</url-pattern>
<servlet-name>SendWelcomeEmail</servlet-name>
<is-default>false</is-default></servlet-mapping>
<servlet>
<servlet-name>SendWelcomeEmail</servlet-name>
<display-name>SendWelcomeEmail</display-name>
<description />
<servlet-class>gst.servlet.SendWelcomeEmailServlet</servlet-class>
</servlet>
<servlet-mapping>
<url-pattern>/RetrieveOccupations</url-pattern>
<servlet-name>RetrieveOccupations</servlet-name>
<is-default>false</is-default></servlet-mapping>
<servlet>
<servlet-name>RetrieveOccupations</servlet-name>
<display-name>RetrieveOccupations</display-name>
<description />
<servlet-class>gst.servlet.RetrieveOccupationsServlet</servlet-class>
</servlet>
<servlet>
<init-param>
<param-name>browseDirs</param-name>
<param-value>true</param-value></init-param>
<servlet-name>FileServlet</servlet-name>
<servlet-class>jrun.servlet.file.FileServlet</servlet-class>
<description>This servlet may override a corresponding FileServlet
in SERVER-INF/default-web.xml.If removed, the servlet in
default-web.xml will be used.</description>
</servlet>
</web-app>