Issue in loading images from Apache webserver in JSF image tags on WLS 10

I have configured the apache webserver2.0 for passing on the request to weblogic 10.0. I have images in apache webserver. In my application on weblogic i am using JSF f. In JSF for <h:graphics> tag i am not able to load images from apache webserver. issue we found out that it prepend a context url on it.
          pls provide if u have any solution for it.
          Edited by neerajr at 11/16/2007 3:33 PM

Hi, Neeraj,
          Are you actually telling <h:graphicImage>? As per html_basic.tld, the "uri" attribute is context-relative.
          Using "value" attribute instead of "url" attribute may be helpful. Something like
          <h:graphicImage id="fooImage" value="http://www.foosite.com/image/foo.jpg"/>
          This should work on WLS10.0 if you are using the JSF library bundled in it.
          Thanks,
          -Fred.

Similar Messages

  • Issue in loading images from Apache webserver in JSF image tags

    I am looking for a way to sever up images in my JSF App.
    I wish to allow members to upload jpg files (I worked this out) and display them later.
    I would like to store the uploaded jpgs in a dir outside of the war file...example c:\imagesUploaded
    Any help out there ???
    Thanks
    Phil

    Here is my problem.
    The first example I use the h:graphicImage to display a jpg from a url. Works Fine.
    <h:column>
    <f:facet name="header">
    <h:outputText value="" />
    </f:facet>
    <h:graphicImage url="http://www.me.com/test.JPG" height="75" width="75" />
    </h:column>
    Second example I use a gif in the images folder in a war file.
    <h:column>
    <f:facet name="header">
    <t:commandSortHeader columnName="distance" arrow="false" immediate="false">
    <f:facet name="ascending">
    <t:graphicImage value="images/ascending-arrow.gif" rendered="true" border="0"/>
    </f:facet>
    <f:facet name="descending">
    <t:graphicImage value="images/descending-arrow.gif" rendered="true" border="0"/>
    </f:facet>
    <h:outputText styleClass="dataTableCss" value="miles" />
    </t:commandSortHeader>
    </f:facet>
    </h:column>
    Third example. I would like to display images in a t:datatable.
    These images are located outside of the war file. Lets say c:\images.
    The location is stored in Oracle Table. Then location loaded in a bean.
    <h:column>
    <f:facet name="header">
    <h:outputText value="" />
    </f:facet>
    -- this does not work since you cant call out of war file....--
    <h:graphicImage value="c:\images\test.gif" height="75" width="75" />
    -- this is what I want to work with a bean holding location....--
    <h:graphicImage value="#{searchBean.gifLocation}" height="75" width="75" />
    </h:column>
    I have stored the name and address in an Oracle Table (test.gif = searchBean.gifLocation ).
    The question is how do I get the jpg or gif to display?
    Phil

  • Special character issue while loading data from SAP HR through VDS

    Hello,
    We have a special character issue, while loading data from SAP HR to IdM, using a VDS and following the standard documentation: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e09fa547-f7c9-2b10-3d9e-da93fd15dca1?quicklink=index&overridelayout=true
    French accent like (é,à,è,ù), are correctly loaded but Turkish special ones (like : Ş, İ, ł ) are transformed into u201C#u201D in Idm.
    The question is : does someone know any special setting to do in the VDS or in IdM for special characters to solve this issue??
    Our SAP HR version is ECC6.0 (ABA/BASIS7.0 SP21, SAP_HR6.0 SP54) and we are using a VDS 7.1 SP5 and SAP NW IdM 7.1 SP5 Patch1 on oracle 10.2.
    Thanks

    We are importing directly to the HR staging area, using the transactions/programs "HRLDAP_MAP", "LDAP" and "/RPLDAP_EXTRACT", then we have a job which extract data from the staging area to a CSV file.
    So before the import, the character appears correctly in SAP HR, but by the time it comes through the VDS to the IDM's temporary table, it becomes "#".
    Yes, our data is coming from a Unicode system.
    So, could it be a java parameter to change / add in the VDS??
    Regards.

  • Issue to load data from database to XML file. error: ODI-40768

    Hi,
    While I am trying to load data from database to XML following error is appearing.
    ODI-1228: Task TEST_XML_DATA (Integration) fails on the target XML connection MyLOCALXSD.
    Caused By: java.sql.SQLException: ODI-40768: Could not save the file <default>:C:\DATA_FILE\www.xml because a class java.io.IOException occurred and said: The filename, directory name, or volume label syntax is incorrect
         at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.writeToFile(SnpsXmlFile.java:751)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.internalExecute(SnpsXmlConnection.java:769)
         at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatement.execute(SnpsXmlPreparedStatement.java:46)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:166)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    jdbc url: jdbc:snps:xml?d=C:\test_xsd.xsd&s=TESTSQL&re=employeesX&ro=true
    physical schema: TESTSQL
    Knowledge modules are:
    LKM: LKM SQL to SQL
    IKM: IKM XML Control Append
    CKM: CKM SQL
    Parameters set are:
    CREATE_XML_FILE: true
    XML_PATH:<default>:C:\DATA_FILE\www.xml
    I have tried to change the directory path but error is still there.
    Could some one please help me to resolve the issue?
    Regards,
    user1672911

    Hi,
    The trouble in "<default>:"  - if you set XML_PATH as C:\DATA_FILE\www.xml instead  <default>:C:\DATA_FILE\www.xml- it will work correctly.
    Greetings,
    Eugene

  • Issue while loading data from DSO to Cube

    Gurus,
    I'm facing a typical problem while loading Cube from a DSO. The load is based upon certain conditions.
    Though the data in DSO satisfies those condition, but the Cube is still not being loaded.
    All the loads are managed through Process Chains.
    Would there be any reason in specific/particular for this type of problem?
    Any pointers would be of greatest help !
    Regards,
    Yaseen & Soujanya

    Yaseen & Soujanya,
    It is very hard to guess the problem with the amount of information you have provided.
    - What do you mean by cube is not being loaded? No records are extracted from DSO? Is the load completing with 0 records?
    - How is data loaded from DSO to InfoCube? Full? Are you first loading to PSA or not?
    - Is there data already in the InfoCube?
    - Is there change log data for DSO or did someone delete all the PSA data?
    Sincere there are so many reasons for the behavior you are witnessing, your best option is to approach your resident expert.
    Good luck.
    Sudhi Karkada
    <a href="http://main.nationalmssociety.org/site/TR/Bike/TXHBikeEvents?px=5888378&pg=personal&fr_id=10222">Biking for MS Relief</a>

  • Issue in loading data from data mart

    Actual load is from APO to BW is happening, but load gets failed when it is loaded from base cube to target cube (data mart), this flow is in 3.5.
    Attached document contains the system msg.

    Your load is still in process.
    Where load failure mesasge?
    Try to activate source 8DSO/Cube and later actiavte update rules thru prorgams.
    Can you check your job details from SM37.
    From info pack monitor, copy request id.
    Go SM37,Job name - <enter copied request id>.
    Use job status - Active/cancel/finished.
    Use proper data ranges.
    User - *

  • Generating full-size image from thumbnail using BLOB DB images

    Hi all,
    Assuming that all necessary steps were taken in other posts and tutorials to display images on a web page from BLOB objects stored in an Oracle 10g DB, how is it possible to set the size of the created images (from the servlet that creates the image file from BLOB) so that it is smaller than the actual image in the DB. the user would then have to click the image to open the full image.
    would this be done by possibly creating 2 servlets, one that displays a smaller version, and one that displays the actual image?
    i don't see how this can be done since the url property of each image is bound to the url of the servlet. If the thumbnail has a url pointing to image produced by thumbnail servlet, would i assign an action handler for clicking the image that redirects to a url given by the full size image servlet? or should i use an image hyperlink instead?
    any help is always appreciated!

    Suggest you take this one step at a time.
    1. Create a database and store your images in it. (Or write the upload mechanism if you need it).
    2. Display your full size images.
    3. Display your full size images as thumbnail size. (Performance will not be good but you'll have results.) Creator allows you to set image size independantly of the size of the underlying image.
    4. Modify the servlet you wrote in step three to optionally reduce the resolution (or quality) based on an input parameter.
    References: Steps 1 -3
    http://blogs.sun.com/sakthi/entry/how_to_upload_and_retrieve
    Step 4
    http://java.sun.com/developer/onlineTraining/javaai/jai/RenderableScaleFrame.html
    Or possibly some other library.

  • Display Image from Local p"ath c:\image.gif"

    Hi Experts,
    Is there anyway to display an image from local path i.e "c:\img.jpg".
    I need to display an image from the path in Dialog(Screen) programming.
    I need to do it using program not any other way...
    Can anyone suggest me a method please.
    Thanks
    Regards
    Naveen

    Well you could use the HTML control - try program SAPHTML_DEMO1 and key in the c:\img.jpg to check it works for you... or the picture control as used in example SAP_PICTURE_DEMO.
    Jonathan

  • Drag and drop images from the OS or select images over filebrowser

    Hello,
    I want to create an image upload tool in JavaFX with similar functionality like Jumploader (http://jumploader.com/). The users should be able to select images from the filesystem that will be resized and uploaded to their website, similar as in Facebook. The difference is that I want users to be able to crop images directly in my application. This is something, other upload tools do not offer.
    I was searching weeks on the web trying to find a sample on how to drag and drop images in to a JavaFX 1.3.1 app or also to create a file browser. I have found many examples but they seem to be outdated. Is it to early yet to try and start projects like these with JavaFX as JavaFX is still under development? Or can anybody lead me in to the right direction?
    Thanks,
    Chris

    To be more precise, you can setup a JComponent or JPanel on top of your JavaFX nodes that has a TransferHandler that can convert the (AWT/Swing) images dragged to the app to JavaFX image and then insert it into the underlying node.
    As for the file chooser itselft: ListView and the JavaFX composer can allow you to create one quite easily. TreeView can aslso be used to a lesser extend (still a big buggy). For both of these, there are small bugs in the Cell API that may (or may not) prevent from displaying a proper thumbnail in the cells.
    You can also use a regular JFileChooser if you do not mind the dialog box having a different LnF from the rest of your application.

  • Grabing images from & Apply OCR To that image

    Hi,
    I m developing a sample application on OCR. At last visit i m posting the same question.But no one can answer me.
    Here i Create a Vi for grabbing images from camera. The Images are grab & save to the desired folder.But the OCR is not working on that snap image.
    I m  modified some Sample NI VI's for capturing the images & for OCR.
    I m new for labview. I cant understand where is the problem in the VI.
    i also create a character set file for reading the characters using OCR Training.
    so please help me to find the solution.
    Attachments:
    Character reading.vi ‏91 KB

    HI.
    Let me give some suggestions regarding your code, (See pictures), and attached an example that you could serve.
    Regards.
    Jonathan Cruz
    CHALLENGER
    K U D O S __ B I E N V E N I D O S
    Attachments:
    Camara OCR.vi ‏42 KB
    11.JPG ‏77 KB
    22.JPG ‏17 KB

  • Is it possible to create an image from part of a png image???

    i have an image and i want to create 4 indivdual image from it in which they could be combined to reform the image that i have

    Its actually quite easy, first you create a new blank image the size of the section you need, then you draw the larger image onto the new image so that the section you want starts at the top left corner of the new image. I use the code below, which works fine.
    Image image = Image.createImage("/myimage.png");
    int width = [whatever the width of the new image is];
    int height = [whatever the height of the new image is];
    int x = [x position of where your image section starts];
    int y = [y position of where your image section starts];
    //Creates a new Blank Image where we will draw our
    //section on to
    Image imageSection = Image.createImage(width, height);
    Graphics g = imageSection.getGraphics();
    //set the clip
    g.setClip(0,0, width, height);
    //Draws our larger image onto our new image
    g.drawImage(image, -x, -y, g.TOP|g.LEFT);

  • I need to download image from the url and the image is in byte format.

    hi
    i need to download image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be its length,we need to download except 5 digits.
    can any one know how to do that.
    thanks in advance
    Mraj

    hi
    i need to download image from the url
    http://www.tidelinesonline.com/mobile/j2me_v1?reqType=imageJoin&imageCount=1&month=1&day=1&year=2008&id=1&imageWidth=230&imageHeight=216&imageDepth=8&imageUnits=feet&imageType=JPG&msisdn=456
    first 5 digits will be its length,we need to download except 5 digits.
    can any one know how to do that.
    thanks in advance
    Mraj

  • Making 3channel 32 bit images from 1 channel 8 bit images ( channel combining)

    Hi guys
    Although I have a simple problem, i could not solve it yet.
    I am tring to combine opencv and labview by using .dll.I succesfully process and read  8bit images from opencv to display on labview as a 8bit images.
    My problem encounters here. When i try to process 3 different 8bit images in opencv and display them as a single 3 channel RGB image, labview can not read image properly.
    I also think that can I combine these 3 different 8bit images in labview not in opencv? is there any .vi that can merge 3 8bit images and produces single 32bit RGB image?
    Thanks
    Baris Togrul
    I am sending my .vi,my dll. and my opencv function.it may give a idea. 
    IBO2_API int Convolution_OpenCV_NI (char* LVImagePtrSrc, int LVLineWidthSrc,
    char* LVImagePtrDst, int LVLineWidthDst,
    int LVWidth, int LVHeight)
    IplImage *CVImageSrc, *CVImageDst;
    //Create OpenCV headers and set pointers/geometry from LabVIEW:
    CVImagesrc=cvCreateImage( cvSize(LVWidth, LVHeight), 8, 4);
    CVImageSrc->imageData = LVImagePtrSrc;
    CVImageSrc->widthStep = LVLineWidthSrc;
    CVImageDst = cvCreateImage( cvSize(LVWidth, LVHeight), 8, 4);
    CVImageDst->imageData = LVImagePtrDst;
    CVImageDst->widthStep = LVLineWidthDst;
    //Create convolution kernel:
    cvSmooth(CVImageSrc,CVImageDst,CV_BLUR,3,3,0,0);
    return 0;
     by the way I am using opencv 2.1
    Attachments:
    opencv-labview.zip ‏22 KB

    Is this what you want? I saved it to LV2010.
    It lets you initialize the three planes to different colors and then merges them into a color RGB image.
    Attachments:
    IMAQ RGB planes to RGB image.vi ‏45 KB

  • Linking an image from one page to an image within a slideshow on another page.

    I would like to link an image on my home page with an image within a slideshow on another page of my website. I can create the link, but when I click on the link, instead of taking me to the image within the slideshow, it takes me to the first image of the slideshow which I don't want. Is there a way to link to an image "within" the slideshow and not the first image?

    Hi
    You can create pages with specific images and then use link of images which will open the page with that specific image, link images within slideshow to show exact image within would not be possible with native Muse feature as by default slideshow will open the first image in target.
    Thanks,
    Sanjit

  • Semantic Partitioning Delta issue while load data from DSO to Cube -BW 7.3

    Hi All,
    We have created the semantic partion with the help of BADI to perform Partitions. Everthing looks good,
    first time i have loaded the data it is full update.
    Second time i init the data load. I pulled the delta  from DSO to Cube . DSO is standard where as Cube is partition with the help of semantic partition. What i can see is the records which are updated in Latest delta are shown into the report rest all are ignored by the system.
    I tried compression but still it did not worked.
    Can some has face this kind
    Thanks

    Yaseen & Soujanya,
    It is very hard to guess the problem with the amount of information you have provided.
    - What do you mean by cube is not being loaded? No records are extracted from DSO? Is the load completing with 0 records?
    - How is data loaded from DSO to InfoCube? Full? Are you first loading to PSA or not?
    - Is there data already in the InfoCube?
    - Is there change log data for DSO or did someone delete all the PSA data?
    Sincere there are so many reasons for the behavior you are witnessing, your best option is to approach your resident expert.
    Good luck.
    Sudhi Karkada
    <a href="http://main.nationalmssociety.org/site/TR/Bike/TXHBikeEvents?px=5888378&pg=personal&fr_id=10222">Biking for MS Relief</a>

Maybe you are looking for

  • Safari 5.1 Crash in Lion

    I am having issues with safari 5.1 crashing. Happens in a number of circumstances such as trying to clicking on mail to links in web pages. Also, when trying to open java program. Here is the last crash log.  Any help would be appreciated. Thanks in

  • [SOLVED] Printer prints white instead of black

    Since an system upgrade on 2013-09-18 and the following reboot, my printer started printing fully black areas and text as white. Interistingly gray remains gray. I'm using a Brother DCP-135C. Has anyone an idea which package could have introduced thi

  • How to Multi Row Update function in Manual Tabular Form

    Hi All, In my application I am using manual tabular form, for Update and insert i have written pl/sql process, but i want to make use of MULTI_ROW_UPDATE function for update and insert operations. How can I implement default tabular form behaviour in

  • How to increase the speed of Zoom on TIFF image

    Hi everyone, i m doing zooming operation on tiff image. when i applied zoom in operation on image which have properties Bit per sample =1 Image Length = 2200 Pixel Image Width = 1700 Pixel Resolution(x) = 200 dpi Resolution(y) = 200 dpi then it requi

  • Printing a webpage from within Flash without opeining it

    Is it possible to print from within a Flash movie ,a webpage from another site, without actually opening that site. Example: I make a print button within Flash, I click it and it prints www.yahoo.com, but it actually never opens www.yahoo.com, I will