U cant enter client side validation for file present or empty rather u
can restrict to enter data manually typing (offcource in javascript).
like
<html:form onkeypress="return false"/>
Better to put validation on server side apart from this
-----Original Message-----
From: Pankaj Gupta [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 05, 2006 1:16 PM
To: Struts Users Mailing List
Subject: File Upload validation

Hi,

I want to do client side validation for file upload such that if the
file does not exist or the field is left blank it should show an error.
Please suggest how I can do that.

regards,
Pankaj

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to