Martin Gainty wrote:
Richard-this is the AJAX doctype declaration from src/main/resources/struts-ajax.xml <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> If you reference the URL you will see 4 distinct elements <!ELEMENT struts (package|include|bean|constant)*> Each element contains their own attribute list e.g. <!ELEMENT result-type (param*)> <!ATTLIST result-type name CDATA #REQUIRED class CDATA #REQUIRED default (true|false) "false"> Did you have a question?
IIRC the question was whether or not Ajax validation required the use of XML validation.
Off the top of my head I don't actually know--since it takes about a minute to write a validate() method I'd probably just try it and see if it works.
Dave
From: [email protected] I was wondering if it is nessessary to use the XML for validation with Ajax? I was hoping to use some validation on the server side action to do this. Is it possible?
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

