struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis Proyect <l...@columbia.edu>
Subject web.xml/validator question
Date Tue, 17 Dec 2002 17:09:42 GMT
Based on the installation instructions at: 
http://home.earthlink.net/~dwinterfeldt/installation.html,
I added this code to web.xml:

  <servlet>
     <servlet-name>validator</servlet-name>
     <servlet-class>org.apache.struts.validator.action.ValidatorServlet</servlet-class>
     <init-param>
       <param-name>config-rules</param-name>
       <param-value>/WEB-INF/validator-rules.xml</param-value>
     </init-param>
     <init-param>
       <param-name>debug</param-name>
       <param-value>2</param-value>
     </init-param>
     <init-param>
       <param-name>config</param-name>
       <param-value>/WEB-INF/validation.xml</param-value>
     </init-param>
     <load-on-startup>2</load-on-startup>
   </servlet>

===

However, I get the following error message:

StandardWrapper[/pur:validator]: Marking servlet validator as unavailable

StandardContext[/pur]: Servlet /pur threw load() exception: 
javax.servlet.ServletException: Wrapper cannot find servlet class 
org.apache.struts.validator.action.ValidatorServlet or a class it depends on

javax.servlet.ServletException: Wrapper cannot find servlet class 
org.apache.struts.validator.action.ValidatorServlet or a class it depends on

===

What's wrong?


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message