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