From: "Jan Bares" <[EMAIL PROTECTED]>
I am confused by parameters that can be passed to the ActionServlet from
web.xml file. The documentation says, that the parameter name is
"validating" but is seems that actual name is "validate":

http://struts.apache.org/api/org/apache/struts/action/ActionServlet.html

Where are you seeing 'validate' being used? (And what version of Struts are you using?) All of the current docs, and the source, use 'validating'. (But it defaults to true, so unless you're trying to turn off validation, you don't need the init param.)

http://struts.apache.org/userGuide/configuration.html#dd_config
  and
<http://svn.apache.org/viewcvs.cgi/struts/core/trunk/src/share/org/apache/struts/action/ActionServlet.java?rev=170184&view=markup>
  which has
String value = getServletConfig().getInitParameter("validating");

If you look at the change history for ActionServlet, you can see that there _was_ a 'validate' init param at one point, but it's been gone for a long time.

HTH,
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to