I need to compress a string into a ZIP archive, and then send this string to a remote location( either through socket or to a browser window). I built a function that recieves a String, and using the Defalte function in util.zip. When I use the ".setInput(byte[])", i get a StackOverflow...(blablabla). in the java.sun site, its a known bug. can you help me find a different way to compress a String into a Zip archive? Thanks in advance, Noam.
Dirk wins!!! Noam Welcome to the Java Ranch, we hope you’ll enjoy visiting as a regular however, your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy. Thanks again and we hope to see you around the ranch!!