You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "PILGRIM, Peter, FM" <Pe...@rbos.com> on 2003/01/28 12:39:12 UTC

Struts Validator Debug output? What is it doing?

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!

I am trying to find out if it is validating on a nested field property
as integer and a date string.

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923


********************************************************************
      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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Struts Validator Debug output? What is it doing?

Posted by Evan Schnell <es...@nvisia.com>.
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

Regards,
Evan.
-- 

Evan Schnell, Technical Lead
nVISIA, Twin Cities  "Digital Architecture and Construction"
7701 France Ave. S, Edina, MN 55435
Voice: 952.837.2577 -- Fax: 952.837.2578 -- Mobile: 612.232.5972




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>