• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem when using html:errors

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am using <html:errors/> to display the erros in jsp page. I populate the errors into ActionError object in the Action Bean and displaying those errors in the jsp page. It is working for one application. I tried the same in other application and i am getting the following error:
"ApplicationDispatcher[/EApplyCommercial]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE"
I am not able to find where the problem actually occured.
Can anyone help me to solve this error?
Thanks
Balaji
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
just check whether you have given proper messages in the message resourse bundle(ApplicationResources.Properties) for the key you are giving in the jsps or in the actionform bean classes (Errors). and also check whether you had mapped the resource bundle into Web.xml
all the best
 
reply
    Bookmark Topic Watch Topic
  • New Topic