aspose file tools
The moose likes Struts and the fly likes Problem with Struts ValidatorServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Problem with Struts ValidatorServlet" Watch "Problem with Struts ValidatorServlet" New topic
Author

Problem with Struts ValidatorServlet

RJ Herbst
Greenhorn

Joined: Nov 11, 2004
Posts: 2
I have this code in the web.xml file:

<servlet>
<servlet-name>validation</servlet-name>
<servlet-class>org.apache.struts.validator.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>config</param-name>
<param-value>/WEB-INF/validation.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
which gives me these exceptions in the localhost-log of Tomcat:
java.lang.ClassNotFoundException: org.apache.struts.validator.ValidatorServlet
javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.struts.validator.ValidatorServlet or a class it depends on


is it my servlet tag in web.xml that is causing these errors?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem with Struts ValidatorServlet
 
Similar Threads
Struts Action Param
java.lang.NullPointerException at the starting of tomcat 6.0
The method doMarkDoneOutboundCall(null, String) is undefined for the type Done_jsp
browser stopping at .do page
not able to run jsp's using struts