


So, I'm trying to write a custom ClassLoader that will load classes from a .jar file inside of a .zip file. Since this is part of an installation process (and the installation will occur off of a CD), I don't really want to extract the file first. Instead, I want to read the classes in t...
Hi All,I have a requriment in my project. The requirement is as follows.We have a lot of data in our DB. During startup of the server we load all the data in the DB to our memory as hash maps. During run time when there is any update(Create,Delete or Update) that is done in the DB the invalidati...
iam using GZIPOutputStream to compress the jsps that iam sending as a responsei have achieved 2/3rd of reduction in the file sizeis there any means in java with which i can reduce the file size even more...
a byte array needs to be zipped and returned, without making use of intermediate temporary file......i am able to zip as follows:ZipOutputStream out = new ZipOutputStream(new FileOutputStream(zipFileName.toString())); FileInputStream fileStream = new FileInputStream(newFile); out.putNextEntry(ne...
How to zip a file as self extracting exe....
Hi, I have question about ZIPOutputStream's public void putNextEntry(ZipEntry e). When we place a ZipEntry, the method puts this ZipEntry object in the beginning of the stream right? The one occupied beginning position prior to the method was placed behind this current one or is it deleted?...
i m getting java.util.zip.zipexception while deploying my ear file in weblogic server. can anybody through some light on this[ June 20, 2002: Message edited by: subhit chauhan ]...
Hi,Does anyone know of any resources/code for converting the .zip files my application creates into a self-extracting .exe files?any ideas appreciated,Regards, Ben....
Hi allI want to zip the request data which is sent from client to the server for processing.how to do this ?...
I want to implement a zip code search.The idea is that you enter a zip code to search, and the results contain records where the zipcode is within a certain number of miles from the zip code you entered. I also want to display how many miles the resulting zipcode is from the one you entered.Is t...
Hi all friends,I want to zip a folder not file by using java.util.zip package. My requirement is I have one swing interface(it is basically a uploading software)on button action event i want to zip a folder by opening Filedialog Box by selecting that folder from my hard disk.Is it possible? If i...
I am sorry if i've posted my message at a wrong place, but i'd like to know if it is a wise idea to write disassembler for tasm in Java.thank you....
i have tried the medium partbut i couldnt get it solvedso i am asking if you have some people that can solve this recursive questionhere is a question and i have a very similar code but i need to convert itsome how in order to fit this questionquestion:In order to make their phone numbers more m...
Hi,To give you brief context, we have an application deployed on WebSphere 4.0.x and using HotSpot JVM 1.3.1.This application is crashing with SIGABRT (in exceptions.cpp line no. 217). We want to understand the pattern and what the threads where doing during the crash.While searching through som...
I am trying to run the outcall.java example and I keep getting the below errorjavax.telephony.InvalidArgumentExceptionjava.lang.NullPointerExceptionMyOutCallObserver.callChangedEventjava.lang.NullPointerExceptionI have all the correct jar files and other files in my classpath. It complies with n...
