YOU CANT CHECK B'COZ JAVASCRIPT DOSENT ALLOW U TO READ THE FILE ON DISC. You can do 1. <html:file property="ffff" onkeydown="javascript:return false;"/> //it causes that no user can enter data manually, rather he has to select using brows button 2. check in javascript wheather that field is empty or not
-----Original Message----- From: Abhimanyu Koul [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 1:19 PM To: Struts Mailing list Subject: Html:file - urgent Hi! Please tell me how can i use javascript to check that the user has not selected any file in the html:file tag. Koul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]