Re: Struts 2 validation off at page load

2007-11-21 Thread Shoaib Gauhar
Thanks alot. This has solved my problem. I really appreciate it. Thanks once again. Regards, Shoaib Ahmad - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Thursday, November 22, 2007 10:42:10 AM Subject: Re: Struts 2 validation off a

Re: Struts 2 validation off at page load

2007-11-21 Thread Dave Newton
An action's validation will fire unless an action method specifically excluded by the validation interceptor, the validation file is for a specific action class/method alias, or a couple other things not relevant in your case. There are a few ways around this, the simplest being to run the "input"

Struts 2 validation off at page load

2007-11-21 Thread Shoaib Gauhar
Hello, I am new to struts 2 validation architecture. I am facing a problem which might be very simple. I am adding all of my validation rules in the actionclass-validation.xml. It works fine. But what happens is that when the JSP page opens for the first time, it validates the fields and shows