I don't think that is what he is asking for.

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of
Gardner Monte
Sent: Tuesday, July 23, 2002 11:17 AM
To: [EMAIL PROTECTED]
Subject: Re: file type in html


use javascript.  forms have an onsubmit() method which, if it returns
false, will prevent submission of the form.  

--Monte Glenn Gardner


On Tue, 23 Jul 2002, [iso-8859-9] Serdar BOZDA� wrote:

> hi,
> i have an html page which has a form. in this form there is an input 
> whose type is file so users press BROWSE button and choose a file then

> press upload button to upload the file. but I want to filter the file 
> choose. (Users can only select txt files for instance) can i do this? 
> thanks a lot, serdar
> 
> 

________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to