470,602 Members | 1,538 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,602 developers. It's quick & easy.

how to filter files in file upload using html contorl

Dear frnds
I am using jsp.I have a problem file upload using html control.I want filter seleted file such as *.gif&*.jpeg images .It should be list out jpeg gif image only.

iam try this code but display the all files only

<form method="post" ACTION="upload.jsp" name="uploadForm" ENCTYPE="multipart/form-data">
<input id="uploadfile" name="uploadfile" type="file" accept="image/gif,image/png">
Jan 29 '08 #1
1 3341
1,216 Expert 1GB
This thread is about HTML, not JSP, so I have moved it to the HTML forum.

Jan 29 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by dickiedyce | last post: by
2 posts views Thread by Tom Wells | last post: by
3 posts views Thread by vishpala kadam via .NET 247 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.