mahesh gopi

Greenhorn
+ Follow
since Dec 17, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by mahesh gopi

Hi All,

I am a newbie as far as struts is concerned.
I am using weblogic 8.1 and struts 1.1 .

My problem is that when i am returning actionerrors from my validate method but the html:errors tag is not able to display my error mesages. It displays the key name with question marks which i believe happens when the struts is not able to pick the resource bundle.
The string displayed by JSp is like this -> ???en_US.xyz???

In the validate method of my action form class this is how i am setting the
action error where ae is an instance of ActionErrors

ae.add("abc",new ActionError("xyz"))

In the JSP i am using <html:errors /> to display all the error messages

In the Struts-config file i have configured the resource file by adding this
<message-resources parameter="ErrorMsg" null="false"/>

and i have placed ErrorMsg.properties inside web-inf/classes

please send in ur inputs on why this could be happening

regards and thanks
mahesh
19 years ago