commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janek Bogucki <...@studylink.com>
Subject Re: web.xml/validator question
Date Fri, 04 Jul 2003 16:23:46 GMT
On Fri, 2003-07-04 at 06:59, Jayati wrote:
> Hi,
> 
> I am facing the below mentioned problem
> ==========================================================================
> 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
> 
> 
> Any help regarding this will be very much appreciated.
> 
> Rgds,
> 
> Jayati
> 

Is the Struts Validator jar in WEB-INF/lib?

You should try the struts mailing list instead of
commons-dev@jakarta.apache.org.

-Janek

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message