This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Tomcat chokes on Struts Validator Plug-In Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tomcat chokes on Struts Validator Plug-In " Watch "Tomcat chokes on Struts Validator Plug-In " New topic
Author

Tomcat chokes on Struts Validator Plug-In

Marcellus Tryk
Ranch Hand

Joined: May 31, 2001
Posts: 64
I'm trying to get the Validator working in my Struts application. The following is the last element in my struts-config.xml:

When I start Tomcat I get the following error:SEVERE: Parse Error at line 81 column 70: Attribute "className" is required and must be specified for element type "plug-in".
org.xml.sax.SAXParseException: Attribute "className" is required and must be specified for element type "plug-in".
Can anyone give me hint about what I'm doing wrong?
Thanks!
Marcellus Tryk
[ January 26, 2003: Message edited by: Marcellus Tryk ]
Marcellus Tryk
Ranch Hand

Joined: May 31, 2001
Posts: 64
I discovered the problem - namely I'm a dork! The error message is pointing right to the problem but I just couldn't see it - I had 'classname' instead of 'className'. I think I didn't see it because I copied and pasted from an example on a website and therefore expected it to be correct.
- Marcellus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat chokes on Struts Validator Plug-In
 
Similar Threads
Struts Validation Plug In
Exception while starting the Weblogic server
validator plugin & struts-config
Struts validation not working
struts validator