> -----Original Message----- > From: Evan Schnell [mailto:[EMAIL PROTECTED]] > > PILGRIM, Peter, FM wrote: > > >There must be a better way! > > > >Is there anyway figure what the Struts validator is doing? > Something like > >getting a log dump to stdout console. If there is any error > then output > >is silent! > > > > > Are you are still using the default logging configuration? > The Struts > validator writes a great deal of information to the commons-logging > debug log. If you have not configured the logging subsystem > to display > debug messages, most of the validator output will never be logged or > displayed on the console. > > Have a look at: > http://jakarta.apache.org/struts/userGuide/building_controller.html#logging
Hi I had a look at this page, but where is the config info? I am using JDeveloper at the mo, so I dont think I will find a log4j there. So it gots to be simple log plug-in? My problem is that Validator Plug-in loads and read the XML files correctly. It just not does not do any validation at all. I looked at the validator.xml file and it looks right to me. I looked hard at my form name and nested property names, but I can't see the bug. I ran the JDeveloper Debugger through my ValidatorForm and traced the "validate(...)" call into the `Validator.init()' and `Validator.validate()' but an empty ActionErrors collection always comes back. So I know it is not dreaded classloader issues again. -- Peter Pilgrim, Struts/J2EE Consultant, RBoS FM, Risk IT Tel: +44 (0)207-375-4923 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ******************************************************************** Visit our Internet site at http://www.rbsmarkets.com This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. The Royal Bank of Scotland plc is registered in Scotland No 90312 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Regulated by the Financial Services Authority ******************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>