HI ranchers,
I am having
JSP form with two text field one is Name : and other is Email :
I am displaying it more than one time like , on single page it appears as ;
Name : ---- Email :---
Name : ---- Email :---
Name : ---- Email :--- SUBMIT
And in my form bean i store them with
String[] array.
like private String[] name; and String[] email;
Now i write validation for this form in validation.xml as
Now when my validation fails, an error message get printed on top of page but , the input box of Name: and Email : contains a hashcode of String []. like [Ljava.lang.String;@14c01ac..
How can i remove this hashcode value , and put the same Name or email into text field which is same as before submitting ??
Thanks in advance !