Hi,
just add the StripesResources.properties into your source directory /
classpath and modify it to your needs. You can find this file in the
source release of stripes in path:
stripes-1.5\stripes\resources\
Hope this helps,
Richard

2009/2/25 Sneha Manohar <[email protected]>:
> Hi all ,
>
> I am very new to stripes . I am trying to validate a number using
> @Validate(required=true) private double numberOne;
> �...@validate(required=true) private double numberTwo;
> & I have imported import net.sourceforge.stripes.validation.Validate;
>
> when I enter invalid number , I get following exception . How does validater
> gets error messages .
>
> org.apache.jasper.JasperException: java.util.MissingResourceException:
>
>  Could not find an error message with any of the following keys:
>
>  'com.anoigma.CalculateActionBean.numberOne.invalidNumber',
>
> 'com.anoigma.CalculateActionBean.numberOne.errorMessage',
>
> '/com/anoigma/Calculate.action.numberOne.invalidNumber',
>
> '/com/anoigma/Calculate.action.numberOne.errorMessage',
>
>  'numberOne.invalidNumber', 'numberOne.errorMessage',
> 'com.anoigma.CalculateActionBean.invalidNumber'.com.anoigma.CalculateActionBean.errorMessage',
> '/com/anoigma/Calculate.action.invalidNumber',
> '/com/anoigma/Calculate.action.errorMessage',
> 'converter.number.invalidNumber'.
>
> ________________________________
> Download prohibited? No problem. CHAT from any browser, without download.
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to