Sridhar Santhanakrishnan wrote:toArray() returns an Object[] which cannot be typecast to Trip[] as Object is not a subclass of Trip. But maybe you can use System.arraycopy() (but am not sure).
Tony Docherty wrote:
testapp.jar ->
ar/mq/mqBrowse.java
META-INF/MANIFEST.MF
jndi.jar
connector.jar
com.ibm.mq.jar
You can't include jar files inside other jar files.
Your manifest file should have a Class-Path entry listing each of the jar files you need to reference, see the Sun Tutorial.
Ulf Dittmer wrote:What's the internal structure of the jar file?
What are the contents of the manifest file?
Originally posted by Rob Prime:
Change into
In your current situation, you are NEVER going forward on your iterator. It keeps pointing at the first element.
Originally posted by Joe Ess:
Do you really want to be creating a new instance of ImageVO, then creating an Image instance from it with what would presumably be a null byte array?