Any body can extract the gif image that is named happy.gif , the image data starts after "Content-Location: Happy.gif" and ends before "------=_Part_11588_8038489.1220212782140--" it is clearly that the rubbish text represents the image , i couldn't extract the image , i have to extract it and save it with the name happy.gif. so please help I really need the code which extracts it in java
Can you explain what you are trying to do here? What it appears you have is an XML document followed by some garbage data. Are you trying to encode a gif into an XML document? If so, XML has a base64 type its faily easy to use.
Your image content appears to be a part of something else. Is this an email application?
it is actually a SOAP message which contains both SMIL & the real bytes of the image these contents are sent by the MMC and i receive it in the DB as bytes so i need to extract only the smil and the image , i have extracted the smil part only the image remains.