Re: blob
Per Nyfelt <[email protected]> Mon, 28 Mar 2005 17:44:53 +0200
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
Hi Adi, Please see my replies below: söndagen den 20 mars 2005 17.12 skrev Adi: > i have a new problem > i want to implement that a picture stroing in the object > fo example i have a website than i upload it to server > and server save it to database with ozone blob > so what kind of class i have to use it? I do not understand the question. > i very confuse with this > cause i only know how to show the picture from location of > file > with mediaTracker What is media tracker? > but i don't know how to save and show it if this pic > convert to binary > would you like to explain to me? The BLOB sample show how to store and retrieve binary content > from how to convert the image source to save data binary > in database and from database to show the image to user > interface. i use web base. > or may be give me some example I do not userstand your question but if you are asking how you can reference an image stored as a BLOB in Ozone using the <img> tag in html you would have to recreate the image as a file and reference the file relative to your application root. Alternatively you write a custom tag, filter, create a servlet or hack the web server (whatever suites your needs) that handles the transformation from Ozone BLOB to the expected byte array stream in the HTTP Response based on client requests. If this is not at all what you were asking try again and include some examples to make it clear what you mean. Regards, Per > > i really need your help. > > from my previous question and your answer > i have one step more to complete my final task > so i really need you backup and your explanation > thanks a lot > =========================================================================== >============= Akses Internet TELKOMNet-Instan beri Diskon s.d. 50 % khusus > untuk wilayah Jawa Timur. Informasi selengkapnya di www.telkomnetinstan.com > atau hub 0800-1-INSTAN (467826) > =========================================================================== >============= > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click