AmitV VermaV

Greenhorn
+ Follow
since Dec 08, 2006
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 AmitV VermaV

How do I get the second maximum value from a Hashtable which contains integer value.
say
Hashtable Hsm = new Hashtable();
Hsm.put("1", 2);
Hsm.put("2", 3);
Hsm.put("3", 4);
Hsm.put("4", 5);
Hsm.put("5", 6);
Hsm.put("6", 7);
Hsm.put("7", 8);
Hsm.put("8", 9);
Hsm.put("9", 11);
Hsm.put("10", 10);

I want to fetch the second highest value.pls help me.
12 years ago
Hi,


All regular expressions in the Struts mask rule must start with a ^ and end with a $.
<var>
<var-name>mask</var-name>
<var-value>^[a-zA-Z0-9]*$</var-value>
</var>

And make sure that you define a "errors.password.maskMsg" in your MessageResources.properties file
e.g

errors.password.maskMsg= message.
[ December 08, 2006: Message edited by: AmitV VermaV ]
13 years ago