The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

controllerservlet not working

Discussion in 'General Discussion' started by tmc74, Feb 19, 2004.

  1. tmc74

    tmc74 Member

    Joined:
    Aug 17, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    My web.xml is as follows-

    =========================
    <?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>
    <servlet>
    <servlet-name>ControllerServlet</servlet-name>
    <display-name>Controller Servlet</display-name>
    <description>The front controller of the application</description>

    <servlet-class>com.ets.joshselector.ControllerServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>UserServlet</servlet-name>
    <display-name>User Servlet</display-name>
    <description>The user related action performing
    servlet</description>
    <servlet-class>com.ets.joshselector.UserServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>GameServlet</servlet-name>
    <display-name>Game Servlet</display-name>
    <description>The game related action performing
    servlet</description>
    <servlet-class>com.ets.joshselector.GameServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>AdminServlet</servlet-name>
    <display-name>Admin Servlet</display-name>
    <description>The administration related action performing
    servlet</description>
    <servlet-class>com.ets.joshselector.AdminServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ControllerServlet</servlet-name>
    <url-pattern>/joshselector/cs</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>UserServlet</servlet-name>
    <url-pattern>/joshselector/userServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>GameServlet</servlet-name>
    <url-pattern>/joshselector/gameServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>AdminServlet</servlet-name>
    <url-pattern>/joshselector/adminServlet</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>

    </web-app>
    =================================

    all jsp files are in folder public_html/joshselector
    and classes are in public_html/WEB-INF

    ================================
    Got the link on signup button in joshselector/index.jsp page-

    http://www.cricketpagol.com/joshselector/cs?action=registrationRequest


    But when I click on this button got the error 404 "The page cannot be found"


    Can you suggest anything?


    -tchy
     
Loading...

Share This Page