I created a small webpage with struts which included downloading an archived file. The archive is created based on the code ID from the download button in the webpage. using the code ID the server searches the database for all filepaths with the same code ID and then uses these filepaths to get the file and create the archive. Usually the output is(Code_ID).zip . However I want to convert the archived file into a self extracting file which would be the one downloaded by the client pc.