Results 1 to 1 of 1
- 01-29-2008, 06:31 AM #1
Member
- Join Date
- Jan 2008
- Posts
- 1
- Rep Power
- 0
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">
Can someone help me thanks
Similar Threads
-
how to upload a file?
By tommy in forum JavaServer Pages (JSP) and JSTLReplies: 4Last Post: 06-30-2008, 02:50 PM -
Listing subdirectories/files with filter
By Java Tip in forum Java TipReplies: 0Last Post: 01-13-2008, 07:20 AM -
File Upload
By ShoeNinja in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-09-2007, 10:09 PM -
how to upload a file along with html form data
By pranith in forum Java ServletReplies: 3Last Post: 07-30-2007, 02:33 AM -
File Upload - Single to allow the search of .txt files
By Daniel in forum Advanced JavaReplies: 1Last Post: 06-06-2007, 04:20 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks