File Storing path in DMS

Dear Team ,
  i have created one Content Rep. and its corresponding storage category. The allocated path for FI Docs is "D:\SAP\ContRep\<Content Rep.>" , so as per link all docs related to FI should store in mentioned path and it is storing in the same path.
But in addition , two folders are getting created automatically i.e "0fee" and "5514577940ba07d4e10000000a5c0614 " , in which my files are getting store which i have uploaded through SAP.
My requirement is that , i do not want these two folders to be created and file should be store in "D:\SAP\ContRep\<Content Rep.>" instead of D:\SAP\ContRep\<Content Rep.>\0fee\5514577940ba07d4e10000000a5c0614.
Please assit me to to disable these two (0fee & 5514577940ba07d4e10000000a5c0614 ) folder to be getting created while uploading any sort of docs through SAP to DMS.
vishnu

Dear Vishnu,
Sorry the feature you are requesting is not feasible.
This is by design. For content server application, every document is processed based on docId
and this docId should be unique. This is required for the isolation purpose from the SAP application perspective. If the same docId is sent from application/kpro then SAP CS will throw 403 error stating forbidden. Document already exists.
The docId(32-digit number) is not getting created from the content server. But the application you are using will send the HTTP request to content server telling store this particular docId.
Then for security reasons, SAP Content server will create a new "4-digit"  hash directory under which the docId sent from the application is created as a directory and under this directory the actual file is save along with the prop file which will contain the meta-properties of the file.
So there cannot be change done for this particular design as then the whole concept of using the SAP Content server becomes invalid and even you are application scenario/logic will fail as it is the one that is passing the 32-digit unique docId.
Best Regards,
Sneha

Similar Messages

  • Inform about the Size of the files stored in DMS as warning message

    hi DMS Gurus,
    We have a critical requirement of informing the users about the size of the file getting stored in SAP DMS, we need to inform the users the size of the file getting stored as this has a implication on flowing the documents in to remote Mobile device, and the concern is, any document above 2 MB would take much longer time or may not flow at all,
    so we need this information available in DIR, so the user can have a choice to choose the file before sending it to Mobile device,
    can i know if this file size is logged in SAP System anywhere?
    Any suggestion is welcome
    Thanks and regards,
    Kumar

    Hi Kumar,
    normally the file size could be found in table DMS_PHF_CD1. You should be able to get the correct entry by using the LOIO- or PHIO-ID which can be obtained by report DMS_KPRO_READ. Other useful tables are DMS_PH_CD1, DMS_PHIO2FILES and DMS_DOC2LOIO.
    Best regards,
    Christoph

  • File c:\path\_CPTN_SAPC501.xls cannot be created in opening documnet in dms

    Deare Sir
    File c:\path\_CPTN_SAPC501.xls cannot be created
    destination SAPHTTP ok but fiel is not opne and
    error is coming File c:\path\_CPTN_SAPC501.xls cannot be created
    regards
    kunal

    Hi Kunal,
    Have you maintained in "define workstation applcaiton" network file path type as "PC"?
    Check and do it.
    Hope this will help.
    Regards,
    Ravindra

  • How to open files from the SAP DMS (DOC Mgt. System) ?

    Hello All,
            I making the Transaction CV04N in BSP.
    When I execute this CV04N I should give a DOC Nr and the list is generated for this DOC.Now in the List if I select one Record and then Press Display Icon then the content of this list is opened in a new window in it's respective format (PDF,Word,GIF,Image file  etc).These are stored in the SAP DMS.
            I want to open a file from this SAP DMS .
    This can be done in ABAP using the standard FMs. But in BSP we can't use these FMs as it will call a screen.
    The Fm which I'm using is " DOCUMENT_SHOW_DIRECT ".
    In Report prog. To this FM I'll pass the
    a, DOC Type
    b, DOC Number
    c, Document part and
    d, Document version.
    then It'll directly open a PDF file in a new window.
    But in BSP how should I acheive this as the FM calls a screen internally.
    The content of the documents are stored in the DMS. Is there any TCODE or Table to get the files from the DMS ?
    How should I proceed ? can any one help me out.....
    Regards,
    Deepu.K

    Hello All,
             I found the FM : <b>CVAPI_DOC_OPEN_CAD</b> which wil return the file path.
    But when I execute this in my BSP since the FM internally calls a screen it fails.
    But can anyone tell me the alternative for this.
    Should I create a FM omitting the GUI code ?
    I found one more thread which says that I can use classes starting with cl_gos*.
    But all the classes use a gui.
    Dowload a document from R/3 DMS to BSP page
    Am I wrong in the interpretation of the logic from the above thread ?
    Please suggest me .
    I too went thru the BSP Applications <b>CVAW_ENTIRE, CVAW_DOCUMENT_DISPLAY.</b>
    But these are used to display only the <b>thumbnails.</b>
    There is no code for displaying other formats like PDF,XLS etc.
    Please correct me if I'm wrong and let me know the correct path to solve my problem.
    Regards,
    Deepu.K

  • Create a Document with an original file stored on application server

    Hello,
    I start with document managment system : i am able to create new document (CV01N) manually, add a local file and check-in this file.
    Now we need to store file which are stored on the SAP Application Server.
    Firstly, in the GUI of transaction CV01N, i don't know how to browse file on application server. All files i can't attach as original, are files i can access from my computer.
    Is it possible to access also on application server files ?
    Moreover, i have to define function module which have to
    - Create a document (DMS)
    - Attach an orginial file which is stored on application server
    - Check-in the file
    This function module will be called from a web application
    I define this kind of function and run it correctly with a local file (stored on my computer) : i call BAPI "BAPI_DOCUMENT_CREATE2" and "BAPI_DOCUMENT_CHECKIN2"
    But i don't how to do with a file stored on application server. I see also note 504692 and try a program like ZZUZTEST_TEST_CHECKIN which use FM CVAPI_DOC_CHECKIN but it return an error Error uploading  E:\usr\sap\TD1\DVEBMGS00\data\FACTURE.txt" (this path and file exist on application server and is really the file i want to checkin)
    Please could you confirm what i search, is possible or not.
    If possible, could help me with some explanations and guidelines and perhaps a sample ?
    Thank you very much.
    Regards,
    Eric
    The function used
    FUNCTION Z_TEST_CHECKIN.
    Checkin the first original of a document info record *
    from the application server and/or in the background *
      data   : w_host like BAPI_DOC_AUX-HOSTNAME.
      data: lf_line(255).
      data: ls_draw like DRAW,
            ls_message_cvapi like messages,
            lt_files_cvapi type standard table of CVAPI_DOC_FILE,
            lt_files_cvapi_header like CVAPI_DOC_FILE.
      data: lt_originals LIKE cvapi_doc_file OCCURS 0 WITH HEADER LINE,
            vo_originals LIKE cvapi_doc_file OCCURS 0 WITH HEADER LINE.
      ls_draw-dokar = 'ZFT'.
      ls_Draw-doknr = '0000000000000004500000032'.
      ls_Draw-dokvr = '00'.
      ls_Draw-doktl = '000'.
    Read Originals contained in the document info record
      CALL FUNCTION 'CVAPI_DOC_GETDETAIL'
        EXPORTING
          pf_batchmode    = 'X'
          pf_hostname     = ' '
          pf_dokar        = ls_draw-dokar
          pf_doknr        = ls_draw-doknr
          pf_dokvr        = ls_draw-dokvr
          pf_doktl        = ls_draw-doktl
          pf_active_files = 'X'
        IMPORTING
          psx_draw        = ls_draw
        TABLES
          pt_files        = vo_originals
        EXCEPTIONS
          not_found       = 1
          no_auth         = 2
          error           = 3
          OTHERS          = 4.
      IF sy-subrc <> 0.
        WRITE 'Error returned by CVAPI_DOC_GETDETAIL'.          "#EC NOTEXT
        EXIT.
      ENDIF.
    Check if we can really access the file from the application server
      read table vo_originals index 1.
      open dataset vo_originals-filename for input in text mode ENCODING DEFAULT.
      if not sy-subrc is initial.
        message e500(26) with vo_originals-filename 'not found'.
      endif.
      read dataset vo_originals-filename into lf_line.
      if not sy-subrc is initial.
        message e500(26) with vo_originals-filename 'read error'.
      endif.
      lt_originals             = vo_originals.
      lt_originals-STORAGE_CAT = 'SAP-SYSTEM'.
      append lt_originals.
      w_host = sy-host.
      CALL FUNCTION 'CVAPI_DOC_CHECKIN'
      EXPORTING
      PF_DOKAR = ls_draw-dokar
      PF_DOKNR = ls_draw-doknr
      PF_DOKVR = ls_draw-dokvr
      PF_DOKTL = ls_draw-doktl
    PS_DOC_STATUS =
      PF_FTP_DEST = 'SAPFTPA'
      PF_HTTP_DEST = 'SAPHTTPA'
    *PF_HOSTNAME =  w_host
    PS_API_CONTROL =
    PF_REPLACE = ' '
    PF_CONTENT_PROVIDE = 'SRV'
      IMPORTING
      PSX_MESSAGE = ls_message_cvapi
      TABLES
      PT_FILES_X = lt_originals
    PT_COMP_X =
    PT_CONTENT =
      IF ls_message_cvapi-msg_type CA 'EA'.
        ROLLBACK WORK.
        MESSAGE ID '26' TYPE 'I' NUMBER '000'
        WITH ls_message_cvapi-msg_txt.
      ELSE.
        COMMIT WORK and wait.
      ENDIF.
    ENDFUNCTION.

    This is a bit tricky. I spent lots of hours about this .
    You have to set PF_HOSTNAME with your name of your AS and gives the path to the file on the server.
    You wrote
    *PF_HOSTNAME = w_host
    But beware: if you have more thän one AS you have to fix one AS for upload or you have to find the servers name of the file. A better way can be to share one folder by each AS.
    You also have to decide between HTTP or FTP.
    You wrote:
      PF_FTP_DEST = 'SAPFTPA'
      PF_HTTP_DEST = 'SAPHTTPA'
    You must define only one ! Then you have to check your settings in SM59 about working right.
    Pls rate, if this was helpful.
    Regards,
    Markus

  • How can i display a pdf file stored in my KM from webdynpro link ?

    Hi experts,
    i try to open my pdf file stored in km, in the same window of my webdynpro java who has the fire link ?
    i user tow  iviews with inBound and outBound plug, the first one has the fire link and the seconde an iframe witch i set source parameter to my km link where my PDF is stored. Unfortunately, the iFrame don't work correctly, and my PDF is not be displayed
    Can you give some advices ?

    Hi
    Recently in my project I came across a scenario where my Web Dynpro Project had to pick the image from KM. The images to be displayed will be placed in KM. This will avoid loading the images into the Web DynPro project. More over when you have KM installed on your EP server, one can use it for storing backend data and resources. The KM Admin will be undertaking this task of uploading the images to predefined folder structures. Through the application path to the image will be provided dynamically giving you the flexibility to decide which image to be displayed according to the business logic.
    Getting an image from KM Documents to be used in Web Dynpro
    Uploading files to KM repository using Webdynpro APIs
    KM with WebDynpro
    thanks
    Suresh

  • External HDS/HLS storage: Invoking files stored on an external drive.

    Followed the following article to add an external drive to store our vod streams (article is no longer available):
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS0432746db30523c21e63e3d12eea2a8fc0 -8000.html#WS0432746db30523c21e63e3d12eea2a8fc0-7ffd
    FMS 4.5 Streaming HDS from non default location
    Connected an external hard drive to the server with the following folders on it (vod2 > media), so the path is:  G:\vod2\media. New video files are inside the last folder (media).
    1. Modified: rootinstall/conf/fms.ini: added a new parameter for HTTP and RTMP streaming: VOD_COMMON_DIR_2 = G:\vod2\media
    2. Modified: rootinstall/applications/vod/Application.xml: Added <StreamManager><VirtualDirectory><Streams>/vod2;${VOD_COMMON_DIR_2}</Streams>
    3. Modified HLS and HDS content storage in httpd.conf (copied and pasted under original settings): The location names are /hls-vod2 and /hds-vod2, correct?
    <Location /hls-vod2>
        HLSHttpStreamingEnabled true
        HLSMediaFileDuration 8000
        HttpStreamingContentPath "G:\vod2\media"
    </Location>
    <Location /hds-vod2>
        HttpStreamingJITPEnabled true
        HttpStreamingContentPath "G:\vod2\media"
        HttpStreamingJITConfAllowed true
        JitFmsDirPath ".."
        Options -Indexes FollowSymLinks
    </Location>
    If all of the above modifications are correct, what is the correct url to invoke the hds streams stored on this external drive through rtmp? The original instructions were not consistently clear about this. I have a file called 1.Test.mov in that folder. I've tried:
    rtmp://localhost/hds-vod2/mp4:1.Test.mov
    rtmp://localhost/hds-vod2/1.Test.mov
    rtmp://localhost/hds-vod2/1.Test.mov.f4m
    etc.
    http://localhost/hls-vod2/1.Test.mov.m3u8 Works for HLS
    http://localhost/hds-vod2/1.Test.mov.f4m Works too.
    I need the rtmp url so that I can make a .smil file for rtmp fallback, such as:
    smil>
      <head>
      <meta base="rtmp://localhost/hls-vod2/"/>
      </head>
      <body>
      <switch>
                <video src="mp4:1.Test_1500kbps.mov" system-bitrate="1500000" width="1920" height="1080" />
                <video src="mp4:1.Test_1200kbps.mov" system-bitrate="1500000" width="1920" height="1080" />
               <video src="mp4:1.Test_800kbps.mov" system-bitrate="1500000" width="1920" height="1080" />
      </switch>
        </body>
    </smil>
    Thanks

    All of Adobe's documentation says that files specified in the vod_common_dir can be streamed from both http and rtmp, but there is no specific mention of what the correct rtmp URL is for files stored on an additional hard drive. Here's what I did to get around this: FMS 3.5 can't connect to media on other drive
    1. HLS streaming:
        a. Modified: rootinstall/conf/fms.ini: added a new parameter for HTTP and RTMP streaming: VOD_COMMON_DIR_2 = G:\vod2\media
        b. Modified: rootinstall/applications/vod/Application.xml: Added <StreamManager><VirtualDirectory><Streams>/vod2;${VOD_COMMON_DIR_2}</Streams>
    2. RTMP streaming: Added the file path of the external storage in the virtual directory of the Application.xml file without specifying or naming the application.
        a. <Streams>/;G:\vod2\media</Streams>
        b. The rtmp for this follows the starndard URL convention: URL Syntax: [protocol]://[servername]/[application]/[codecID:][streamname][.extension]
        c. In my case, this would be: rtmp://localhost/vod/mp4:1.Test.mov
    It would be nice if this worked according to Adobe's documentation, and hopefully someone can chime in with the correct answer to the original question. If not, this gets rtmp and http streaming to work from the same external location (what vod_common_dir is supposed to be able to do).
    Thanks

  • Inserting or embed and image into cfmail output from a database-stored path to an actual image.

    I am trying to insert or embed and image into cfmail from a database-stored path to an actual image. The actual JPEG image is stored in a folder called "images_personnel". The path to the image under the column titled photopath is stored in my database table as "/file/images_personnel/28.jpg". Displaying the image on the screen renders without a problem, embedding the same image as part of a cfloop query does not insert/embed the image into an email. All of the other output of the same cfloop displays and emails just fine. However none of the photos of each personelle show up. What an I doing wrong?
    My code is below:
    <cfquery name="Staffreport" datasource="master">
    Select staffreport.*, name.personnelid, name.email, name.last, name.noiid, stafflt, CONCAT(name.fname,' ',name.middle,' (',name.last,')') AS teammember, CONCAT(name.fname,' ',name.middle) AS teammember2, concat(name.photopath,'',name.photo)as hisphoto, stafflt.*, trim(concat(ltfname,' ',ltmiddle)) as LT from Staffreport, name, stafflt
    where 0=0
    and stalt = '#Session.user_id#'
    and ltid = '#session.user_id#'
    and staweekbegin = <cfqueryparam value="#form.staweekbegin#" cfsqltype="cf_sql_date" />
    AND staweekend = <cfqueryparam value="#form.staweekend#" cfsqltype="cf_sql_date" />
    AND stapersonnelid = personnelID
    <!---AND ltid = stalt--->
    AND CITY = 'richmond'
    AND STATUS <> 'd'
    AND STATUS <> 'T'
    AND type = 'personnel'
    Group by personnelid
    Order by teammember
    </cfquery>
    <cfmail>...
    <cfloop query="staffreport"><br />
    <table width="90%" border="0" cellspacing="2" cellpadding="4" align="left">
      <tr>
        <td colspan="2" align="center" valign="top" nowrap="nowrap" bgcolor="cccccc"><strong><font color="black"><cfif #staffreport.last# eq ".">#Ucase(Staffreport.teammember2)# <cfelse>#Ucase(Staffreport.teammember)#</cfif> - ID: <cfoutput>#Staffreport.noiid#</cfoutput></font></strong></td>
      </tr>
    <tr>
        <td align="left" valign="top" nowrap="nowrap" bgcolor="#000000">Name:</td>
        <td>#Staffreport.teammember#</td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Photo:</td>
        <td bgcolor="EBEBEB">
    <img src="#staffreport.hisphoto#" alt="Photo" width="98" height="98">
    </td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Email:</td>
        <td bgcolor="EBEBEB">#staffreport.email#</td>
      </tr>
    </table>
    </cfloop>
    </cfmail>

    You'll need to provide a full URL link to the image ("http://mywebserver/file/images_personnel/28.jpg"), not just a relative path.  Remember, the email client that is used to view the email content knows nothing of the internals of your web server - it can only follow a complete URL to get images and other resources.
    -Carl V.

  • Execute listcube in background - where is the file stored on app server

    Hi,
    I want to execute listcube in background.
    to execute in background, the only output option available is Store in file (appl server).
    My question is where is this file stored.
    there is no information in the job log nor is there any spool.
    Also, can I determine myself where is this output file written.

    I have a couple of questions that could lead to an answer to your question...
    Does your BW environment have one or more application servers, in addition to the Database Central Instance (DBCI)? If so, do you use logon groups for SAP Logon so that the logon loads are balanced?
    I'm asking these questions because if you have a multiple application server environment and logon balancing, you may not be logging onto the same server every time that you're executing LISTCUBE and it will save to the directory path of the server you're logged onto.

  • Need help displaying HTML files stored in content repository

    I have a very simple HTML file stored in a binary attribute (so the file could
    be uploaded through the Admin Portal) named "html" in the BEA Repository (8.1sp2)
    and would like to display it in a JSP. Here's a snippet from that JSP:
    <cm:getNode path="<%=myNodePath%>" id="myNode"/>
    <cm:getProperty node="<%=myNode%>" name="html" conversionType="html"/>
    I expected the getProperty tag to fetch the HTML file and render it inline, but
    I guess that's wishful thinking. Am I missing something?
    Thanks for any help!

    I added transactionTimeout="30" to the tag shown below. That did the trick, as
    long as I avoided certain combinations of tag attributes. Guess this one's a little
    moody.
    Thanks, Greg.
    Gregory Smith <[email protected]> wrote:
    Try setting the transactionTimeout to something greater than 0 on the
    <cm:getProperty> tag.
    Greg
    Marc N wrote:
    I have a very simple HTML file stored in a binary attribute (so thefile could
    be uploaded through the Admin Portal) named "html" in the BEA Repository(8.1sp2)
    and would like to display it in a JSP. Here's a snippet from that JSP:
    <cm:getNode path="<%=myNodePath%>" id="myNode"/>
    <cm:getProperty node="<%=myNode%>" name="html" conversionType="html"/>
    I expected the getProperty tag to fetch the HTML file and render itinline, but
    I guess that's wishful thinking. Am I missing something?
    Thanks for any help!

  • Use XML files stored in directory of Application server as a input for XI ?

    I have a scenario that there is a xml file stored in sap application server for example /inf/ERQ/XML/XXX.xml which i want to use it as an input for XI. I know that there is an adapter in XI for getting xml file stored in normal path but in my situation it's in application server of SAP so i don't know how to do this.
    Any solution or example for this? Thank you in advance.
    Best regards

    Hi,
    We can read this file through FILE adapter with FTP protocol, before that i think need permission from basis for access.  Configure source(according to xml format) and target structure according to your requirement.  But one thing should remember in XI/PI sour/target XML formats should contain Message type name & namespace name else it can't work.
    Find below link for more information.
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)

  • Transferring files stored in a network directory to SAP.

    hi Guys,
    my requirement is this is  an inbound interface, transferring PDF files stored in a network directory to SAP and web direcotry.
    i think this is something releated to system call, can some one give me some idea on it or from soemwhere i could find some doc on this or any FM to do this.....
    Thanks in Advance.
    Regards.

    Hi Pawan,
    I'm not sure at this stage how this can be done if you don't have a user with a SAPGui at least for the first step.
    If you do, you could do it like this:
    - User enters path as a parameter to abap program
    - Program calls method DIRECTORY_LIST_FILES of class CL_GUI_FRONTEND_SERVICES
    - Program calls method GUI_UPLOAD of class CL_GUI_FRONTEND_SERVICES to read files one by one
    - Program uses open dataset, transfer and close dataset to write the files to the application server
    - Program calls method FILE_DELETE of class CL_GUI_FRONTEND_SERVICES to delete the files one by one from the directory.
    This, however, will only work if you have a dialog session and the user has access to the network directories in question.
    If you are running SAP on NT, and you have directories on this server mapped to PC drives, you could also use the FILE_COPY method rather than using open dataset, transfer, etc.
    If you MUST run this stuff as background jobs, I'm not sure that I can help much.
    Cheers,
    Brad

  • How can I play a .pvr file stored in my STB?

    i need to play a .pvr file stored in my STB. first i listed the files using java.io.File, file.list() but i don't have any idea how to transform this file to a media locator one, for example.
    My STB have mhp 1.0.2, i need 1.0.3 or higer to do this? any suggestions?? thanks!!

    Hi
    Recently in my project I came across a scenario where my Web Dynpro Project had to pick the image from KM. The images to be displayed will be placed in KM. This will avoid loading the images into the Web DynPro project. More over when you have KM installed on your EP server, one can use it for storing backend data and resources. The KM Admin will be undertaking this task of uploading the images to predefined folder structures. Through the application path to the image will be provided dynamically giving you the flexibility to decide which image to be displayed according to the business logic.
    Getting an image from KM Documents to be used in Web Dynpro
    Uploading files to KM repository using Webdynpro APIs
    KM with WebDynpro
    thanks
    Suresh

  • How to access files stored in a portal

    Hi All,
    I have a file stored in the root directory ..somewhere in root/portalapps/myfile.csv
    This is an xl file ...
    I want to read the contents of this file and write it on the screen..
    even though there is data in my file but i am not being able to read it..
    Below is the code i am using...
    Here pramFile is the corresponding file in the portal server
    //Code
    FileInputStream fis = null;
    BufferedInputStream bis = null;
    DataInputStream dis = null;
    try {
         fis = new FileInputStream(pramFile.getAbsolutePath());
    // Here BufferedInputStream is added for fast reading.
        bis = new BufferedInputStream(fis);
       dis = new DataInputStream(bis);
    // dis.available() returns 0 if the file does not have more lines.
       while (dis.readLine() != null) {
    // this statement reads the line from the file and print it to
    // the console.
                                       response.write("line is "+dis.readLine());
    // dispose all the resources after using them.
         fis.close();
         bis.close();
                    dis.close();
         } catch (FileNotFoundException e) {
         response.write("FileNotFoundException");
    e.printStackTrace();
         } catch (IOException e) {
    response.write("IOException");
         e.printStackTrace();
    //END
    Here dis.readLine() is giving null
    Kindly suggest if there is any mistake in my approach
    Thanks Sundeep

    Hello Sundeep,
    As the Root/Portalapps folder is not accessible, you can only specify yourFilePath to absolute path on your file system
    (ex: c:/...../Root/Portalapps/yourfile)
    Using file system absolute path is not at all a good idea as the application is not portable to other servers. So my suggesion is to keep this csv file in your Applications webresource path like: ROOT/portalapps/com.yourapplication/csvfile
    Now your csvfile is accessible like this: ".../irj/root/portalapps/com.yourapplication/csvfile"
    Here is example how to get Image which is in public path:
    IResource rs = componentRequest.getResource(IResource.IMAGE,
                   "../mimes/mypicture.gif");
    image.setSrc(rs.getResourceInformation().getURL(componentRequest));
    Greetings,
    Praveen Gudapati

  • Rendering images dynamically from file server path

    Hi,
    We are having JDeveloper 11.1.2.4
    We have following requirement - Image files are located on server. File locations (path and name) are stored in database table.
    We need to dynamically access file locations from database table, access file from server and render it in ADF image component.
    Is it possible? If yes, we would really appreciate some pointers/help on how to achieve it.
    Please note that we are able to render images dynamically when they are stored in database BLOB column. We can do that using a ImageServlet class. In doGet() method, we are fetching the database BLOB column based on current row id.
    Thanks,
    Vivek

    Here is the scriplet I tried. But it is not redering the image and definitely I am missing something here. Please suggest changes or any direction.
    <%
    File f = image.getThumbnailFile(); //image file from a bean
    ByteArrayOutputStream byteOutput = new ByteArrayOutputStream();
    InputStream inputStream = new FileInputStream(f);
    byte[] bytes = new byte[1024];
    int read;
    try{
              while ( (read = inputStream.read(bytes)) > -1 )
                      byteOutput.write(bytes, 0, read);
              //byte[] ba = byteOutput.toByteArray();
              ByteArrayInputStream byteInput = new ByteArrayInputStream(byteOutput.toByteArray());
              response.setContentType("image/gif");                       
              while ( (read = byteInput.read()) > -1 )          
                   response.getOutputStream().write(read);
              response.getOutputStream().flush();
    catch(Exception e){}                           
    %>

Maybe you are looking for