thanx stephen for ur timely response,
i'll chk out those links n try to figure out how can i use them in my appl.
just want to make my requirement clear:
actually i'm working on a richtext editor wherein the user of the application prepares documents n can insert images too... so my pblm is to embed those images directly into the HTML document push it to database for future reference ( i dont want to save the image as a seperate file )
when i searched internet for this i came across something interesting in this below link
http://www.bennherrera.com/EmbeddedImage/ wherein u can observe the approach used by Benn... but i cudnt get his what he did exactly in his java program ... i mailed him but cudnt get any response.
if u can get anything frm the above approach it wud be nice of u .... coz i think its suit my purpose...