• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

HTTP Status 503 - Servlet action is currently unavailable

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic