Problem displaying tiff files using ADF

Hi,
I have some TIFF files in a table - IMAGE_TABLE
ID NOT NULL NUMBER
DESCRIPTION VARCHAR2(40)
IMAGE ORDSYS.ORDIMAGE
I am unable to display TIFF images in an ADF form. I can use processCopy to convert the TIFF images to jpeg, which them display correctly. All other JPEG or GIF display correctly, it's only the TIFF that don't. I've tried variours tiff files (different sources, converted gif and jpeg to tiff) but none display correctly (i.e. in IE you get the red 'x' - in firefox you get the broken picture symbol or nothing)?
This appears to be an ADF issue as I 'can' dsiplay the TIFF files correctly in IE and firefox using the quicktime plugin but not from an ADF form using JDdevloper? (The code/application is Steve Muench's JSFOrdImageExample - http://otn.oracle.com/products/jdev/tips/muench/jsfordimage/JSFOrdImageExample.zip)
Any ideas or suggestion would be appreciated.
Thanks.
JDeveloper 10.1.3 build 10.1.3.0.4
DB is 10gr2

Hi,
yes, I can view tiff's in browsers (IE and firefox) using the quicktime plugin. I've selected quicktime as the player in the af:objectmedia property settings and Autostart = true, but using the ADF form from JDeveloper will not display tiff images (jpg's, giff's etc. are fine) even though the browser will display tiff's on it's own?
Thanks.

Similar Messages

  • Problem displaying tiff files

    Hi,
    I have some TIFF files in a table - IMAGE_TABLE
    ID NOT NULL NUMBER
    DESCRIPTION VARCHAR2(40)
    IMAGE ORDSYS.ORDIMAGE
    I am unable to display the TIFF images in an ADF form. I can use processCopy to convert the TIFF images to jpeg, which them display correctly. All other JPEG or GIF display correctly, it's only the TIFF that don't. I've tried variours tiff files (different sources, converted gif and jpeg to tiff) but none display correctly (i.e. in IE you get the red 'x' - in firefox you get the broken picture symbol or nothing)?
    Any ideas or suggestion would be appreciated.
    Is this an ADF issue?
    Thanks.
    JDeveloper 10.1.3 build 10.1.3.0.4
    DB is 10gr2

    Hi,
    yes, I can view tiff's in browsers (IE and firefox) using the quicktime plugin. I've selected quicktime as the player in the af:objectmedia property settings and Autostart = true, but using the ADF form from JDeveloper will not display tiff images (jpg's, giff's etc. are fine) even though the browser will display tiff's on it's own?
    Thanks.

  • Display jpg file using ADF Application!!!!!!!!!!!

    Hi All,
    I am opeing a .tif image file kept at a remote location using HttpServletResponse object:
    response.setContentType("application/x");
    response.setHeader("Content-Disposition", "inline; filename=\""+fileName+"\"");
    once this has been done, InputStream(the input stream of the file obtained using new FileInputStream(fileobj)) is piped into an OutputStream using some function.
    using this function the .tif file gets opened in MS picture viewer, but only one file(not like when files are viewed on local machine where all differnent jpg's are viewed using the next button).
    Now what client wants is when there are multiple files kept at the location, all of them should be accessible using next button of the MS picture viewer.
    It is possible to do so?
    Any help???

    ok, i agree with that and was trying for the same. i.e was taking array of InputStream[] , OutputStream[] and ByteArrayOutputStream[]. Write input streams into ByteArrayOutputStreamOBJ, write this ByteArrayOutputStreamObj to OutputStreamobj(ByteArrayOutputStreamObj .writeTo(OutputStreamobj[i]);).
    This method when run in loop runs for the third time throws an exception that connection was closed by remote host.
    Any Suggestions ????

  • Showing tiff files using web.show_document

    Hello,
    I want to show tiff files using web.show_document. Tiff files cannot be displayed in a browser, however therr are several plug-ins available to show them.
    Can anyone recommend a plugin to display tiff files in a browser?
    Kind Regards Erik

    We had tried a different approach. We store all type of documents in the database using webutil.
    And we dont directly open any document and we download the document to the local host and then open it using webutil client host ('local folder\file name')
    This way word,excel, pdf etc will be automatically opened with its relevant appln and if there is relevant appln is not found it will prompt the windows standard Open with dialog box.
    Rajesh ALex

  • How to display flash file in adf pages

    how to display flash file in adf pages need help

    Thanks all,
    It is resolved.
    the code i am using to display a flash is below.
    <f:verbatim>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
    =10,0,0,0" width="300" height="300" id="11gR1_aniH_grey" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="mx2004demo.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#4d5c64" />     
    <embed src="../Images/mx2004demo.swf" quality="high" width="300" height="300" name="mx2004demo.swf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" wmode="transparent"
    pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </f:verbatim>

  • Displaying Master-Data using ADF DI

    Hi
    I'm trying to display a master data(as a form) and a detail data(as a table) in excel sheet using ADF DI.
    The process I followed is as below.
    1. This is on HR schema. I created a departmentsVO, and dragged Departments from the data control to the top half of a jspx page as a form, and Employees datacontrol that is wihtin the Departments datacontrol into the lower half of the page.
    2. I ran the page, and the master-detail is perfect i.e., when i click navigate the departments form, corresponding employees of that department are coming in a table in the lower half.
    But the problem is when i used this pagedef file to use in an excel file.
    1. Alll form elements are available in the excel as individual components. Table is available as a tree component.
    2. I binded all the form elements in the excel, also bound prev and next buttons, all at the top section of the excel file.
    3. Binded the table component in the bottom of the excel file.
    3. Defined table download action and Worksheet downsync action as worksheet properties. Workbook prop are also defined properly.
    When I ran the page,
    Form elements and table is prefilled, navigation of form is also working fine. But when I navigate through the form, the corresponding employees are not changing, they are all employees of the first department id.
    My requirement is to change the employee table as the department form is being navigated.
    Can someone pls give some suggestions. What i think I may be missing is that the table is not getting refreshed as I navigate the form(But I already associated the table download action to the worksheet properties).
    Thanks in advance,
    Ravi.

    Found a solution. This might be helpful to others...so m posting it :-)
    While binding the 'Next' button, I added 'Download' component action of the table to the actionset of the button(which already has UpSycn, Next, DownSync).
    So, on click on the button, it actually downloads the latest data to the table. And master - details were shown just perfectly :-)

  • Problem in running application(using ADF) on BEA Weblogic Server

    Hi..,
    I am Gunardy Sutanto from Indonesia. Currently, I had a problem in deploying application which is using ADF framework in BEA Weblogic Server(WLS 8.1). I also add all the libraries which were required for running this application. But I found some error when I ran this application. About the error message that I found from log file which is generated by BEA Weblogic Server 8.1, herewith I attach the detail of the error message :
    <Error> <HTTP> <BEA-101020> <[ServletContext(id=27825828,name=bp_presentment,context-path
    =/bp_presentment)] Servlet failed with Exception
    oracle.jbo.PCollException: JBO-28030: Could not insert row into table PS_TXN, collection id 16,408, persistent id 1
    at oracle.jbo.PCollException.throwException(PCollException.java:39)
    at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1845)
    at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
    at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
    at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
    at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
    at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ## Detail 0 ##
    java.lang.ClassCastException
    at oracle.jbo.pcoll.OraclePersistManager.updateBlobs(OraclePersistManager.java:1613)
    at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1832)
    at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
    at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
    at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
    at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
    at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I hope this is enough for somebody for solving this problem. If someone have the solution for this problem, please contact me by e-mail to [email protected].
    Thanks,
    Gunardy

    I already set the value for jbo.server.internal_connection and then deployed to Weblogic Server. When I was tested the application, all the records from table had shown on the screen but I found the application can't insert row to table PS_TXN. I I want to know it always happened?
    Herewith I attach the detail log from log file which was generated by Weblogic Server:
    oracle.jbo.PCollException: JBO-28030: Could not insert row into table PS_TXN, collection id 162, persistent id 1     at oracle.jbo.PCollException.throwException(PCollException.java:39)
         at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1845)
         at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
         at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
         at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
         at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
         at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
         at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.jbo.pcoll.OraclePersistManager.updateBlobs(OraclePersistManager.java:1613)
         at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1832)
         at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
         at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
         at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
         at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
         at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
         at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Besides that, I found new error when I was starting Weblogic Server. Herewith, I attach the detail of the error message:
    java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap$KeySet
         at org.apache.commons.collections.FastHashMap.keySet(Unknown Source)
         at org.apache.struts.action.ActionServlet.destroyDataSources(ActionServlet.java:769)
         at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:431)
         at weblogic.servlet.internal.ServletStubImpl$ServletDestroyAction.run(ServletStubImpl.java:1086)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:569)
         at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:596)
         at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:581)
         at weblogic.servlet.internal.WebAppServletContext.destroyServlets(WebAppServletContext.java:5797)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:5675)
         at weblogic.servlet.internal.ServletContextManager.removeContext(ServletContextManager.java:187)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:706)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:764)
         at weblogic.servlet.internal.WebAppModule.rollback(WebAppModule.java:742)
         at weblogic.j2ee.J2EEApplicationContainer.rollbackModule(J2EEApplicationContainer.java:2942)
         at weblogic.j2ee.J2EEApplicationContainer.rectifyClassLoaders(J2EEApplicationContainer.java:1429)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1176)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    So, I need someone to sove this problem. I am looking forward for hearing from you.
    Thanks,
    Gunardy

  • Strange problem displaying external files (css includes)

    Hope somebody can help me with this. First of all, I'm running mac os x 10.4.11 using dreamweaver 8.0.2.
    Just recently i've been unable to display any external files (namingly my css; attached as includes) when I open a local document. Tried to delete my "site cache" as well as re-creating the site prefs and made sure "Display External Files" is checked under COMMANDS. Still nothing. Anyone have a idea it just all of a sudden stopped displaying all external fles???

    Peter,
    I tried testing the RSS feed using a FeedReader, and it works with that. But, when I try feed the same URL ( http://rss.cnn.com/rss/cnn_topstories.rss ) as the XML source in the Omniportlet, I get the following error message:
    Error
    Failed to open specified URL. Check the following: is the URL is active; is there a valid proxy setting or, if HTTP authentication is required, check user name and password. [http://rss.cnn.com/rss/cnn_topstories.rss]
    Here is how the proxy is defined in the Provider.xml file:
    <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
    <httpProxyHost>www-proxy.us.oracle.com</httpProxyHost>
    <httpProxyPort>80</httpProxyPort>
    <proxyUser>my Oracle Single-SignOn username</proxyUser>
    <proxyPassword>my Oracle Single-signOn pwd</proxyPassword>
    </proxyInfo>
    I am on the Oracle Intranet. So, please let me know how I could reach you offline, if you think that will make things easier to resolve this problem.
    I appreciate your help.
    Thanks,
    Kalyan

  • How to display mutilpe files using JFile choose

    please hepl me regarding how to select and display the mutilpe files using JFile chooser

    i m sorry if i have done any mistakes.i am new to
    this forum i just wanted to tell my problem and wish
    that it could ne solved...Tell it only once. Posting multiple times don't get more attention.

  • Problem in tiff file Printing

    hello,
    I am trying to print tiff image using JAI(Java advanced imaging). I am able to perform all the required operations for that including zoom in, zoom out etc. But I am facing problems while printing the same. These files I am getting from the byte stream or byte array (Data being recieved using TCP/IP). I am able to print using one of the code samples available on the net.
    http://www.geocities.com/larryhr/samplecode/samplecode.html
    File: JAIImagePrint.java
    Only modifications i made in the code provided is, I have scaled the image.
    Now I am facing 2 problems:
    1) I want to set minimal margins from all the sides of page on which I am printing. (A4 size) So it should print on almost complete page.
    2) The images are of varying sizes. So whenever I print, I get it of different sizes.
    It would be really nice if someone help me resolving this problem.
    I need it very urgently.
    Thx in advance,
    Nitin Mishra.

    Dear BK,
    For print out PO, our system just using the sapscript only. How can i check it?
    Dear GK,
    The message status in ME22N / ME23N are green light which means that is completed, right?
    Please kindly give more advise on it.
    Regards,
    Luke

  • Displaying blob image using adf

    Hi ,
    We are using adf in our application. We have to disaply blob image from oracle data base on the adf jspx page.This jspx page consists of 2 jsff files.
    I have created an httpservlet and called on the source parameter of image this httpservlet with binding similar as below:
    source="/httpServletName?id=#{bindings}}"
    I am able to display the image.
    But my concern is that I am using iterator for displaying images as there can be multiple records in the table but for every recoed I am getting same image. Please suggest how can I display multiple images coming with respect to various records of data base.
    thanks & Regards

    Hi,
    After attempting the solution given above also I am getting the same issue.
    On the jspx page I want to show Imageid, imagedescription and photo .
    I have 4 records coming from database on the jspx page. I have found that all the data (imageid, description) is first displayed on the jspx and then control gets transferred on the ImageServlet only once and in request.getParameterMap() I get only one "ID" value i.e. the ID value of last record (4th record) coming from data base and hence in all the 4 records on jspx I am getting the same image (i.e. the image in the 4th record of db). Please help me to proceed on this issue.
    On jspx, I have given image source value as :
    <af:image shortDesc="image"
    id="image1"
    source="/imageservlet?id=#{bindings.Id.inputValue}}"/>
    Thanks

  • Problems saving .tiff file

    I am trying to save a .psd to a .tiff file. My .psd has a couple layers and a drop shadow effect. When I save the file seems to be fine until i veiw it in any Windows or Microsoft view, thumbnail view or application such as word, it looks squeezed and totally washed out of colour and almost transparant? I have saved like this before and never encountered this problem. It seems to appear properly when opened in InDesign, Photoshop. I use these photos to send to other people who will be viewing them and using them in Microsoft applications such as PowerPoint, so I'm concerned that it won't open properly for them.
    I am using Photoshop CS and Microsoft Windows Windows XP Professionl Version 2002 Service Pack 3. Any suggestions to what might be happening or what I might be doing wrong? help I have a deadline!
    Thanks, Roni

    Roni, Powerpoint and some othe MS programs will open a TIFF but they usually only see one layer. Those programs are not designed to handle multiple layers or opacity, or adjustment layers. These all contain prorpietary format that al of the applications in the Adobe Suite can handle, but MS apps can not.
    What you can do is place a composite layer as the top layer and save the file.
    Regards, MM

  • How to display HTML files using ABAP Webdynpro?

    Hi,
    I have a html index file and a bunch of other files accessed by the index file  in a specific directory on the SAP server. I'd like to display the index file via ABAP webdynpro and allow the users to click on what they need to see. How can I achieve this using utilizing the ABAP webdynpro technology ?
    Thanks!

    Hi Thomas,
    Thanks for taking the time to answer my question.
    I have the main html file and all other files needed by the main file in one directory on the application layer of SAP. I'd like to provide the user with a link, by clicking on which they should be able to get to the main html file using the browser. This is just a standalone application.
    I can try the approach using BSPs, however, I'm new to that area. Could you point me in the right direction to get started?

  • Display pdf file using webdynpro abap

    Hi Friends,
    My requirement is to display pdf file in the second page with the input  text  entered in the fisrt page when clicked on action
    button( in the first page) using webdynpro abap.
    Can anybody explain the step by step procedure as I am new to this area.
    Thanks in advance.
    Reagrds,
    Nagaraju

    Hi,
    Check this.,
    Creating a PDF file in webdynpro abap.
    Web Dynpro ABAP display pdf
    hope this helps u.,
    Thanks & Regards
    Kiran

  • Display gif files using servletoutputstream (again)

    Hello,
    I'm trying to display several gifs files in a html file. I extract all the files from an oracle database. I'm trying to use a servletoutputstream, but it does not difference between text and image.
    Process:
    1. Select html file from database
    2. Go through each line of html file to find the links to gif files
    - if gif :
    3. Ask for the gif file detected and select from database
    4. use servletoutputstream to display the file
    - end of if
    -else
    5. display the line of text.
    Is it possible to use a servletoutputstream to display several gifs and text content?
    Is there one other solution to do it correctly?
    Thanks in advance,
    Angela.
    The code I use is:
    private void retrieveFile()
    FileWriter fwHtml=null;
    oracle.sql.BLOB blob=null;
    InputStream in=null;
    ServletOutputStream out=null;
    ResultSet rsGif=null;
    try
    //Extract html file from the database
    String query="SELECT * FROM DBFiles WHERE FILENAME='"+file+"'";
    PreparedStatement ps = connection.prepareStatement (query);
    ResultSet rs=ps.executeQuery();
    rs.next();
    String fileName=rs.getString("FILENAME");
    if (fileName.indexOf("html")!=-1)
    InputStream fis=rs.getAsciiStream(5);
    //I read each line to know where the html file calls the links to the gif files
    BufferedReader reader= new BufferedReader(new InputStreamReader(fis));
    String line;
    String mimeType="";
    try{
    while ((line=reader.readLine()) !=null)
    if((line.indexOf("img src="))!=-1)
    int imgIndex=line.indexOf("img src=");
    int altIndex=line.indexOf(" alt=");
    //I obtain the name of the gif file that I obtain from the database
    String gifFile=line.substring(imgIndex+9,altIndex-1);
    query="SELECT * FROM DBFiles WHERE FILENAME='"+gifFile+"'";
    ps.clearParameters();
    ps = connection.prepareStatement (query);
    rsGif=ps.executeQuery();
    rsGif.next();
    blob=((OracleResultSet)rsGif).getBLOB("GIF");
    String gifName=rsGif.getString("FILENAME");
    mimeType = context.getMimeType(gifName);
    response.setContentType(mimeType);
    out = response.getOutputStream();
    in=blob.getBinaryStream();
    int bufferSize=blob.getBufferSize();
    byte[] buffer = new byte[bufferSize];
    int bytesRead=0;
    int intBuffer=in.read(buffer);
    while ((bytesRead=intBuffer)!= -1)
    out.write(buffer,0,bytesRead);
    in.close;
    else
    byte[] bString =line.getBytes();
    mimeType = context.getMimeType(fileName);
    response.setContentType(mimeType);
    out.write(bString,0,line.length());
    catch (IOException ioe) {
    System.out.println("Unable to open Image file "); ioe.printStackTrace();
    finally {
    if (out != null) {
    out.flush();
    out.close();
    ps.clearParameters();
    connection.commit();
    rsGif.close();
    rs.close();
    ps.close();
    catch (SQLException sqle)
    sqle.printStackTrace();
    catch (Exception e)
    e.printStackTrace();

    Let's put it this way, since I don't have the patience to look at your code. HTML cannot have images embedded in it, it can only have links to images. So you could have a servlet that sends an image, but only a single image and nothing else. I see you have code to set the MIME type of the image, so I don't have to tell you about that.

Maybe you are looking for