on 05-20-2007 8:10 AM
Hi All,
I have following scenario to programme.
- The DB have "images" stored as BLOB.
- I need to read the images (stream) and make them visible in Web Dynpro UI.
Problem is i only one way to providing images in Web Dynpro. The images are picked from url that points to Resource either at temporary location of permanent position Sap Images pool or contribution under mimes folder.
I see temporary location as one option here but still not able to figure out where to store it !
Can anybody help in this.
Thanks and Regards,
Ashwani Kr Sharma
Ashwani,
Please read <a href="/people/anilkumar.vippagunta2/blog/2007/02/20/reading-and-writing-images-from-sqlserver-in-webdynpro">Reading and Writing Images from SQLServer in WebDynpro</a> by <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=oyfrjwyishi%3d">anilkumar Vippagunta</a>
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Use
WDWebResource.getPublicCachedWebResource(byte[] webResource,
WDWebResourceType resourceType,
WDScopeType scopeType,
WDDeployableObjectPart deployableObjectpart,
String key)
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwani,
> - WDWebResourceType resourceType - WDWebResourceType.<one of the available types>
basically mime type of the file.. html or xls.. etc.,
> - WDScopeType scopeType - lifetime of the cached object.. WDScopeType.<choose from available scopes>
application or component etc
> - String key -
name of the resource
Regards
Bharathwaj
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.