By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

how to filter files in file upload using html contorl

P: 6
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
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,216
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.