| Author |
Problem in Validating array of form field
|
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
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 !
|
[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
|
 |
Sagar Rohankar
Ranch Hand
Joined: Feb 19, 2008
Posts: 2896
|
|
|
Can anyone tell me How to use 'indexedListProperty' field in validation.xml ?
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Problem in Validating array of form field
|
|
|