I had been using only the method attribute on the <s:submit/> tag until
discovering it was causing to water to run uphill when it came to the
validators.  I started experimenting and landed on moving the method
settings over to the action on the tag.  I toyed around with deferring to
the action attribute on the <s:form/> tag at one point but didn't see any
change.

So do you see any reason why my field errors are not being generated in the
HTML from the <s:textfield/> tags?

Scott



DNewfield wrote:
> 
> stanlick wrote:
>> I discovered the method attribute of the <s:submit /> tag ignores the
>> validation completely!
> 
> Not only this, but it's also a potential security hole, and might be 
> going away or being made to require more configuration in the future. 
> Why are you specifying the action in the submit tag instead of the form 
> tag?  (Even though you are using a single action definition, there 
> really are multiple actions in play here.)
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wildcard-mapping-should-not-suck-%28but-does%29-tp16074328p16079248.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to