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

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
 
Being a smart alec beats the alternative. This tiny ad knows what I'm talking about:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic