I tried putting the file to WEB-INF /classes still the same problem exist
Any way to resolve this...It get the property file but its not able to read
the values.


levi_h wrote:
> 
> Ah! What happens when you move it to WEB-INF/classes?
> 
> On Fri, Aug 8, 2008 at 10:55 PM, Stripes-payal <[EMAIL PROTECTED]>
> wrote:
> 
>>
>> Yes ,I checked property file it has the key and value both...
>> I am using eclipse and keeps the property file in WEB_INF lib
>>
>>
>>
>> levi_h wrote:
>> >
>> > Well, does StripesResources.properties contain the key?
>> >
>> > On Fri, Aug 8, 2008 at 7:22 PM, Stripes-payal <[EMAIL PROTECTED]>
>> wrote:
>> >
>> >>
>> >> I added the annotaion validation in bean class
>> >> say:
>> >>  @Validate(required=true)
>> >>    private String username;
>> >> but when i try executing my jsp,with username as a blank field,
>> >> it gives me this exception,rather then showing the page back with
>> error.
>> >>
>> >> org.apache.jasper.JasperException: Could not find an error message
>> with
>> >> any
>> >> of the following keys:  'validation.required.valueNotPresent'.
>> >>
>> >>
>> >>
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
>> >>
>> >>
>> >>
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
>> >>
>> >>
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>> >>       
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>> >>        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:111)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:477)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:293)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:177)
>> >>        javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> >>        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> >>
>> >>
>> >>
>> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
>> >>
>> >> I think it loads the StripesResources.properties but  not able to find
>> >> key
>> >> Plese help me out with the solution.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Error-on-Validation-Annotation-tp18892479p18892479.html
>> >> Sent from the stripes-users mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> -------------------------------------------------------------------------
>> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> >> challenge
>> >> Build the coolest Linux based applications with Moblin SDK & win great
>> >> prizes
>> >> Grand prize is a trip for two to an Open Source event anywhere in the
>> >> world
>> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >> _______________________________________________
>> >> Stripes-users mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/stripes-users
>> >>
>> >
>> >
>> -------------------------------------------------------------------------
>> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>> > challenge
>> > Build the coolest Linux based applications with Moblin SDK & win great
>> > prizes
>> > Grand prize is a trip for two to an Open Source event anywhere in the
>> > world
>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> > _______________________________________________
>> > Stripes-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/stripes-users
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Error-on-Validation-Annotation-tp18892479p18898860.html
>> Sent from the stripes-users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-on-Validation-Annotation-tp18892479p18916907.html
Sent from the stripes-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to