February 1st, 2013, 01:36 AM
How to validate same file selected while uploading multiple document in client side
We are using spring form tags and jstl tag below is our code
<td><c:forEach items="fileDataList" varStatus="vs">
<td colspan="3"><form:input path="fileDataList" id="fileData"
type="file" cssStyle="width:160px;" onchange="checkSameFile();"/>
While uploading the multiple file with same name it should give pop up window saying that you selected same file.It should be validate after selecting file in client side only i need help please any one can help.
February 1st, 2013, 03:14 AM
If I was going to validate file uploads, client side... first and for most... I would have server side validation, as well. To save you some time, if I were you... I would look into a "jquery multiple file upload plugin".
February 1st, 2013, 03:15 AM
How to validate same file selected while uploading multiple document in client side?
Explain with one example.
February 1st, 2013, 03:32 PM
I gave you information, on what to search for; if you do a online search for "jQuery File Upload Plugin"... you will find several examples on how to do... what your wanting to do.
Originally Posted by prashantpk25