commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dutta_kaus...@chennai.tcs.co.in
Subject Re: web.xml/validator question
Date Sat, 05 Jul 2003 05:49:48 GMT

struts.jar file might not be there in ur classpath.
add struts.jar file in ur classpath.


- Kaushik Dutta






                                                                                         
                                       
                    "Jayati"                                                             
                                       
                    <jayati@nunet-       To:     <commons-dev@jakarta.apache.org>,
<struts-user@jakarta.apache.org>              
                    tech.com>            cc:                                          
                                          
                                         Subject:     web.xml/validator question         
                                       
                    07/04/03 12:29                                                       
                                       
                    PM                                                                   
                                       
                    Please respond                                                       
                                       
                    to "Jakarta                                                          
                                       
                    Commons                                                              
                                       
                    Developers                                                           
                                       
                    List"                                                                
                                       
                                                                                         
                                       
                                                                                         
                                       




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






Mime
View raw message