Women in Technology

Hear us Roar



Subject:   HTTP Status 404 error in The requested resource (/Example) is not available.
Date:   2007-07-16 02:37:44
From:   hellojava2
Response to: HTTP Status 404 error in The requested resource (/Example) is not available.

you can change this


<servlet-mapping>
<servlet-name>HelloWorldExample</servlet-name>
<url-pattern>HelloWorldExample</url-pattern>
</servlet-mapping>


to


<servlet-mapping>
<servlet-name>HelloWorldExample</servlet-name>
<url-pattern>/HelloWorldExample</url-pattern>
</servlet-mapping>


Then it is working fine

Main Topics Newest First

Showing messages 1 through 1 of 1.

  • HTTP Status 404 error in The requested resource (/Example) is not available.
    2009-01-20 21:09:23  Foccii [View]

    HTTP Status 404 error in The requested resource (/Emp1/EmpJsp.jsp) is not available.

    using struts

    change in struts-config file

    <form-beans>

    <form-bean name="EmpForm" type="com.hr.trainee.EmpForm" />
    </form-beans>


    <action-mappings>


    <action path="/EmpJsp" type="com.hr.trainee.EmpAction"
    name="EmpForm"
    scope="session"
    input="/EmpJsp.jsp" >

    <forward name="success" path="/DisplayJsp.jsp" />
    <forward name="failure" path="/EmpJsp.jsp" />
    </action>

    </action-mappings>