--- Tauri Valor <[EMAIL PROTECTED]> wrote:
> I tried as you advised. I get the default error message 'Please enter a
> value for first name ' which is in the "message" .
> 
> Im expecting the error messaage from the properties file.
> 
> I think Im placing my properties file in the wrong location. And therefore
> my validation returns me the default error message.
> 
> Im not sure where to place my properties file.

Depends. it can be in the same ackage as the action class and named
${actionClassName}.properties, for example. The localization docs [1] gives a
set of rules for locating resource files.

Dave

[1] http://struts.apache.org/2.0.11.1/docs/localization.html



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

Reply via email to