checking value in jsp from a list of values

Hi,

i have a jsp page whcih has a List of file names.Also the user can browse and select a new file.In case the file selected is the same as present in the list he should get a prompt.I have tried doing do using javascript something like

listFileName=getFldobj("attchedFileList["+i+'].fileName')

where attchedFileList is the ArrayList and fileName is the bean attribute.But in all the cases the file name is coming as null.Can anybody help me out

[475 byte] By [anshumanupadhyay1311a] at [2007-10-3 11:21:56]
# 1
What is ,getFldobj()why r u using "" for-- > ("attchedFileList["+i+'].fileName')
Selvaganapathya at 2007-7-15 13:47:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...