aspose file tools*
The moose likes Struts and the fly likes problem when using html:errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem when using html:errors " Watch "problem when using html:errors " New topic
Author

problem when using html:errors

Balaji
Greenhorn

Joined: Oct 16, 2003
Posts: 5
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
poornima balagopal
Ranch Hand

Joined: Dec 02, 2003
Posts: 83
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem when using html:errors