ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Subject:   HTTP Status 404 error in The requested resource (/Example) is not available.
Date:   2009-01-20 21:09:23
From:   Foccii
Response to: HTTP Status 404 error in The requested resource (/Example) is not available.

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>