java.util.zip ZipException Error Opening File
I have code that uploads a file in my strut then i change its extension to .zip and want to extract that file.
(please note that the file is create under zip and renamed as .xtr before upload, when user uploads it we change its name to zip. I am telling here so that u can see there s nothing wrong with the file. Soem how, I can also extract it from windows. )
when my code runs, and it tried to read entries in the enumeration, it says "error opening file". I am not posting the code because, I hve used many examples and it has nothing to do with the code.
My problem is as i mentioned above, my files` name is changed may be its handler doesnt quiet. more over i hve tried the code with upload a zip file. After upload it says the same.
Can any one provide me a clue to move around ?

