HTTP Status 503 -
Servlet action is currently unavailable
--------------------------------------------------------------------------------
type Status report
message Servlet action is currently unavailable
description The requested service (Servlet action is currently unavailable) is not currently available.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.9
here is my
struts config code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="jdbc:mysql://localhost/employees"/>
<set-property property="username" value="root"/>
<set-property property="password" value="root"></set-property>
</data-source>
</data-sources>
<form-beans>
<form-bean name="employeeForm" type="com.wrox.EmployeeForm" />
</form-beans>
<global-forwards>
<forward name="employeelist" path="/EmployeeList"/>
</global-forwards>
<action-mappings>
<action path="/EmployeeList"
type="com.wrox.EmployeeListAction"
scope="request">
<forward name="success" path="/employeelist.jsp"/>
</action>
<action path="/Add"
type="com.wrox.AddEmployeeAction"
name="employeeForm"
scope="request"
input="/AddEmployee.jsp"
validate="true">
<forward name="sucess" path="/EmployeeList.do"/>
<forward name="error" path="/AddEmployee.jsp" />
</action>
</action-mappings>
<plug-in className="com.strutsrecipes.hibernate.plugin.HibernatePlugin">
<set-property property="path" value="/hibernate.cfg.xml"/>
</plug-in>
</struts-config>
----------------------------------------------------------------------
any help would be highly appreciated
thankyou in advance