I had some issue with zip the files and folder together.
Problem is :
List filesList=new ArrayList(); filesList.add("c://test1.txt"); filesList.add("c://test1.txt"); ilesList.add("c://test"); Above i have List which have two files and one folder , Now i have to Zip these 3 files such way that i have to search "test" contains any folder again inside the folder we have any folder so on.
Can any body help me in getting the logic. I tried the logic using recursive method but i could not succeeded.