Struts 1.3 Error messages displaying improperly on jsp
Paul Yule
Ranch Hand
Joined: May 12, 2008
Posts: 229
posted
0
Currently I'm getting ???en_US.error.required??? displayed to the jsp page when the validate method of my ActionForm adds an error and I display it on the jsp page with <html:errors/>
Here is where I add the message from the validate method
properties file including the message:
The properties file is located at com.company.project.resources.ApplicationResources.properties
My struts config is included below referencing the property file
I'm lost at what to do. I feel like it's looking for a properties file specific to EN_us. After i click submit on my html page it adds the error message when I don't specify the user name but it is displayed as ???en_US.error.required???.
hmmm... am I trying to look for a typo involving an "s"? I don't see it. Or is Superman going to save that day? Do you think he codes in his spare time?
Wow, thanks David. I must have stared at this thing for 4 hours before posting trying to go through every possible thing I could find and I still end up with an "Add a semicolon" solution.