This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

Pradeep Swaminathan

Greenhorn
+ Follow
since Aug 25, 2005
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 Pradeep Swaminathan

Hi,

I have two classes (ClassA.java and ClassB.java) accessing static method (getSeq()) of a third class (ClassC.java). How do I synchronize, so that only one instance accesses the method at a time. Synchronizing on the class name doesn�t work.

Thanks�
Pradeep
Hi Brent ,

I tried placing the name="maxlength", still its not working .....
Only "required " works....
14 years ago
Hi,

I am trying to use the validation framework in my application. I have a jsp page with one field to be validated for lenght. when i implement the maxlength validation, it doesn't work. But the "required ' field validation works...

I have tried the changing the struts.jar, validation-rules.xml etc... Still same...

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">;
<form-validation>
<formset>
<!-- An example form -->
<form name="MismatchEDIForm">
<field property="isa_date" depends="maxlength">
<arg0 key="mismatchpage.date"/>
<arg1 key="${var:maxlen}" resource="false"/>
<var>
<var-name>maxlen</var-name>
<var-value>6</var-value>
</var>
</field>
</form>
</formset>
</form-validation>
14 years ago
Murali,

I had a similar issue.... Try returning Null in
"return mapping.forward("succes"); "
14 years ago
Thanks Merrill...
14 years ago
Thanks Merrill,
Actually, I am planning to implement Ajax in only in two pages.
Is it necessary to go for a framework for this� or without it.

If I am not using a framework, what should the action return�
a null actionforward ?
14 years ago
Hi,

Can anyone suggest how to integrate Ajax and struts. Is there a plugin for struts


Thanks....
14 years ago