aspose file tools
The moose likes Struts and the fly likes validating the arraylist values in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "validating the arraylist values in struts " Watch "validating the arraylist values in struts " New topic
Author

validating the arraylist values in struts

NV Krishna
Greenhorn

Joined: Mar 23, 2005
Posts: 14
Hi,

In my application, in the jsp,i am displaying the values of the arraylist in the textboxes. the values are fetching from the database. depending on the database values using the iterator i am displaying the values in the textboxes. i have a provision to change the values in the textboxes. after changing the values in the textboxes, and click of the submit button the values will store in the database.

now my issue is on click of the submit button i want to validate the values of the textbox.

is it possible in struts to validate the arraylist values?

help.

Thanks
vamsyn
sudhakar Tadepalli
Ranch Hand

Joined: Dec 27, 2001
Posts: 130
You can validate if the text field blank or Char or numeric, email etc... using Struts validation module(Validation.xml and validation-rules.xml).

See my posting for the same question. But ofcourse I didn't get the answer yet. Waiting since one week

http://www.coderanch.com/t/51740/Struts/Struts-Validation-ArrayLiist-beans
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validating the arraylist values in struts
 
Similar Threads
Struts and javascript problem
Jsp-page populated after succesful insert
how to keep the values of radio buttons intact?
doubt in update
validating the arraylist values in struts