This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 503 - Servlet action is currently unavailable

 
sonia selvam
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Anirvan Majumdar
Ranch Hand
Posts: 261
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your struts-config seems to be fine by me.
It would be more helpful to identify the problem if you could post the URL you try to access and the exception stack trace that comes up on the Tomcat console.
[ March 27, 2008: Message edited by: Anirvan Majumdar ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic