struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wo_shi_ni_ba_ba <>
Subject error message and validation
Date Sat, 12 Mar 2005 00:35:38 GMT
I know that by default if I specify 
errors.required = {0} is required in the message
, struts validator will use this message for missing
parameter that is required.  But what if I want to
have very different error msgs for different missing
parameters? can this be done? 
for example, if param1 is missing, i want to say
"param1 is required".  But if param2 is missing, I
want to say "please refresh your page".
can this be done?
thanks in advance

Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message