Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Problem with Validator Framework with Struts 1 Module

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All,

Thanks for reading the post.I am using Validator Framework with Struts Modules. I have 3 modules namely Default module, Module A , Module B. Default module does not contain any entries. I removed the resource bundle entry also from the default module. I want to do Validation for form in Module A. So i added the Validator plugin in the Struts config.xml for Module A. Also added validation-modA.xml and validator-rules.xml as parameters for the plugin. When i try to do validation i get the below error,

[10/20/08 20:25:26:204 IST] 00000021 ValidatorActi E org.apache.commons.validator.ValidatorAction executeValidationMethod Unhandled exception thrown during validation: No message resources found for bundle: org.apache.struts.action.MESSAGE
java.lang.NullPointerException: No message resources found for bundle: org.apache.struts.action.MESSAGE

I am sure this occurs because Struts looks for Resource bundle in the default module. Is there anyway i can specify specify to look for resource bundle in Moulde A ?

Thanks in Advance.

Regards,
Arul.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic