I am writing following code in my asp.net web application.
<input type="file" name="file1" accept="images/*.gif,*.doc" />
The purpose is that when user click on browse button only gif and doc files should be shown,but this is not working.
Is there any way so that I can set filter on file type in asp.net as we can do in windows application of .net.
Please for this I don't need any freeware control.
If the above said is possible in asp.net file upload control that is also good.
If this is not possible in .net then is it possible in java ?