Hello List...
Apologies if this is off-topic, I posted to the jdbc forum on sun with little response.
I insert an image into a postgres db using the following code:
URL urlImage = getServletContext().getResource(
/images/ + imageFilename);
URLConnection
j-p,
Apologies if this is off-topic, I posted to the jdbc forum on sun with little response.
I always try www.jguru.com -- I used to answer a lot of questions there.
I should go back...
I insert an image into a postgres db using the following code:
URL urlImage =
Thanks for the advice(s) Chris...
I ignorantly hadn't realized I could open more than one stream, using only one stream
returned a negativearray exception (?), while the second stream appears to have worked
nicely.
And yes, as you guessed - I hadn't closed the streams and URLConnections.