I have a question about the validation in struts.

Imagine that we have:

- jsp page containing the form to be validated
- formbean extending from ValidatorForm
- action to be executed on submit
- validation rules using the validation plugin

If we put the 'validate' attribute to true in the struts-config and call
the action the form is validated correctly... but even before actually
submitting data! 

I know this can be avoided by directy calling the jsp, but especially in
the case of 'retrofitting' an application by adding validation to form
this quite often needs refactoring of links and forwards...

What would be the way to do this?


-- 
Ing. P.F.M. Maas M.A.
Application Architect / Streaming
 
Noterik Multimedia BV
Prins Hendrikkade 120
1011 AM Amsterdam
The Netherlands

Tel: +31 (0)205929966 (office)
Tel: +31 (0)205929973 (direct line)
Fax: +31 (0)204688405

Web: www.noterik.nl
--------------------------------------
Take a look at our streaming solutions: 
http://www.streamedit.com/demo.html

Get firefox: 
http://www.mozilla.org/products/firefox/
---------------------------------------

:wq!


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

Reply via email to