Display in "Oracle Forms 10g" a BLOB item

Hey, anybody know if there was any java component or a way to display in "Oracle Forms 10g" a BLOB item, which contains no images, but files of type PDF, DOC, TXT ....
Thank you

<p>The Enhanced HTML browser bean allows showing amost everything in its window. See this screen shot</p>
So you could download your stored document onto the AS or the client with the Webutil FILE_TRANSFERT package, or you could envisage top develop
a nice PL/SQL procedure that would send the content via the UTL_HTTP package.
Francois

Similar Messages

  • Displaying the Oracle Forms 10g

    Hi Everyone,
    I need help on this one.
    I am currently running Oracle Forms 10g and I want to display the Calendar object on an item in my module.
    I have attached the relevant libraries i.e Calendar and added the program units as required so in my module there are two additional data blocks that is
    DATE_CONTROL_BLOCK and DATE_BUTTON_BLOCK and I have my canvas and the DATE_LOV_CANVAS.
    What code do I had to the KeyListVal trigger to enable me to display the Calendar at runtime?

    Hi,
    Actually what I want to find out is how to include a
    Calendar in my Form Module at runtime.That wasn't your initial post's question, and what do you mean by at runtime??
    You need to have the objects you stated in your first post in the form to be able to show the calendar at runtime.
    If you have the Forms Demo read the help files they have explained everything in it. If not you can download it from [url http://www.oracle.com/technology/sample_code/products/forms/index.html]here
    Tony

  • List item display in Oracle forms 10g

    hi,
    I have created the list item with pop-list in forms.When i retrieve the data using record group in the list item ,i need to display two column data in single list item i.e emp id , emp name .
    select emp_id,emp_name from emp where mgr_id = 100;
    i tried this query in record group but its coming emp id only, not name .
    Can u tell the solution as soon as possible

    Hi,
    In List Item, the First column will show in the list, and the Second column will be stored. To show both columns in list, u have to concatenate both fields and make it as first column. And i think you have to save the EMP_CODE, not EMP_NAME in database.
    So the record group will be
    SELECT EMP_ID || ' - ' || EMP_NAME EMP_NAME, EMP_ID FROM EMP WHERE MGR_ID = 100; Or you can use LOV to display multiple columns.
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • BMP is not displayed in Oracle Forms 10g

    Hi,
    I am trying to display logo on the custom logon form.
    I have created an image item in the block. The following code is written in WNFI
    DECLARE
    Master_image VARCHAR2(80) := 'SS.bmp';
    BEGIN
    set_window_property(forms_mdi_window, window_state, maximize);
    set_window_property(forms_mdi_window, Title, 'Accounting System');
    READ_IMAGE_FILE(master_image, 'BMP', 'image_master');
    END;
    But the BMP is not getting displayed.
    Am i missing something here?
    Thanks
    AT

    Hi Gerd,
    I thought so.
    But it is working same way in another application also on 10g.
    I do not have access to that form but i got the above mentioned code used there and i tried to use it in my form.
    Can think of something?
    Thanks
    AT

  • BI GRAPHS IN ORACLE FORMS 10G

    AFTER FINDING SOLUTION TO MAKE GRAPHS CUSTOMIZATION IN ORACLE FORMS 10G, I was suggested to use BIGRAPH so installed all package(formsgraph.jar and whole demo package) and I configured properly all my files. But graph.fmx which exist in demo when run on browser does not display any graph on bean area it might be as no data retreived or data not populated due to bug in fmb . I made new temp.fmb by only creating single item and bean on canvas. On validating item I wrote following syntax.
    BEGIN
         IF (:BLOCK1.TEXT_ITEM5 = ' ') THEN
         message('validating');     
         set_custom_property('block1.BeanArea1',1,'GRAPHTYPE','HORIZONTAL_BAR');
    set_custom_property('block1.BeanArea1',1,'ENABLE_TOOLTIPS','ALL');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'SET_DELIMITER',',');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','Europe,Sales,25000');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','USA,Sales,70000');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','Europe,Taxes,2500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','USA,Taxes,2500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','Europe,Savings,22500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','USA,Savings,67500');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_DATA_TO_GRAPH','');
    SET_CUSTOM_PROPERTY('block1.BeanArea1',1,'ADD_ROWDATA','UK,Taxes,67500');
    set_custom_property('block1.BeanArea1',1,'SHOW_GRAPH','');
         END IF;
    END;
    Still surprise as forms open successfully on Web browser but no chart displayed. I am really fade up as I required lot of time to install demo version in my original oracle 10g software. My boss say how can new version have no features of graphics. I can not tell or say to buy that oracle graphics are customized in Oracle 11g.
    If anybody have solution for above, please reply.
    Thanks,
    Prashant

    Hello Omama,
    Problem of Bi Graphs have been solved by running url with extension as config=Bigraph. For my next problem in graph of 10g I am going to post new thread as BI Graphs does not serve my problem. Anyway Thanks.
    Regards,
    Prashant

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

  • Calling Crystal Reports from Oracle Forms 10G

    Hi everyone,
    I am trying to call a crystal report from Oracle Forms 10G.
    I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
    Can someone please send me the code to do this and also the exact steps that are to be followed.
    Thanks
    Fm.

    Hi Andreas,
    I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
    I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
    Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
    Is that possible ? If yes please let me know the steps to do this.
    Thanks
    Faiz
    Edited by: IQ on May 13, 2011 11:38 AM

  • Oracle forms 10G -Version 10.1.2.0.2 will it support timestamp data type ?

    Hi all,
    We are having database server - oracle 10g enterprise edition R2,
    forms - Oracle forms 10G -Version 10.1.2.0.2 on windows 2000 professional.
    We have created a table which has a column of type "timestamp",the following is the structure.
    CREATE TABLE  "STOCK_AREA_MASTER"
            (     "STOCK_AREA_CODE"     NCHAR(5)       NOT NULL    ENABLE,
                  "STOCK_AREA_DESC"     NVARCHAR2(40)  NOT NULL    ENABLE,
                  "RECORD_STATUS"       CHAR(1)        DEFAULT 'A',
                  "USER_ID"             NVARCHAR2(20)  DEFAULT USER,
                  "TIMESTAMP"           TIMESTAMP (6)  DEFAULT CURRENT_TIMESTAMP)
    [\code]
    We  tried to invoke this table(stock_area_master) using database block wizard in forms 10g,we were expecting to see the columns in this table,but we got the following error
    FRM -10095 - Assertion failed
    on seeing the forms help for the error FRM-10095,We are getting the following message
    FRM-10095: Assertion failed in %s, at %s:%d. Cause:  An internal inconsistency was detected. Action:  Contact an Oracle support representative, and proceed with caution
    We have the following concerns.
    1.) is it possible to have datatype "timestamp" in forms 10g,our researches show that we can manipulate using datatime datatype in forms,our requirement is have to precision of 6 digits(millisecond - format - dd/mm/rr hh24:mi:ss:ssss),we are able query and view precision to the tune dd/mm/rr hh24:mi:ss:ssss,but we are unable to insert/update to this precision.
    We would appreciate if some one could throw some light on the above.
    Thanks in advance
    Regards
    Mohan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Mohan,
    Hm. Strange.
    I have reproduced the problem in my environment.
    I have also found, that building the block manually, seems to work, as long as you define the item with datatype Char in Form Builder. Inserts and updates using a value like "22-AUG-06 11:10:11,647354 AM" worked fine for the timestamp item.
    You may want to enforce some dateformat. I don't know whether that will work.
    Good Luck!
    Remco

  • Using of google map in oracle forms 10g

    Hello,
    We are on Oracle Forms 10g. We have a requirement of calling a Custom Map application (Like Google Maps) from Oracle Forms 10g.
    We want to show the Employee's Hose location in the form when city,street and state is entered.
    We are using the following PJC
    http://forms.pjc.bean.over-blog.com/article-26335020.html
    But when i run it i do not get anything in GMAP.
    I appreciate if I can get some help for the above requirements.
    Thank you.

    hello sir,
    I am running my form from the form Builder.
    I have copied my jar file into E:\DevsuiteHome_1\forms\Java Folder.
    Updated formsweb.cfg file as
    archive_jini= frmall.jar,frmwebutil.jar,jacob.jar,StaticGMap.jar
    and updated default.env Class path
    I got the following error: on java console
    Oracle JInitiator: Version 1.3.1.30
    Using JRE version 1.3.1.30-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    Proxy Configuration: Manual Configuration
    Proxy:
    Proxy Overrides:
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://polish_dap-2:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/frmwebutil.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jacob.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/JCalendarJinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jcalendar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/AWTFileDialog.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/FileDropper.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/statusbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/lablediconbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/dynamicmenu.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/ComboMenuBar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/StaticGMap.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/personalize.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/progressbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/rolloverbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/getclientinfo.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • Bad bind variable error in oracle forms 10g

    i have a created a table in oracle database 10g
    create table myimage(image_id number, image_name BLOB);
    i want insert an image and retrieve an image through programing(don't want block level) in oracle forms 10g
    without using java beans(and finely working in both windows XP2 and Solaries)
    how can i do this please can anybody give me the source code to do this because i am new in oracle forms.
    i need a immediate replay to this answer why because i have urgent requirement on this in my web erp project

    You can use WEBUTIL to do so, but
    without using java beans(and finely working in both windows XP2 and Solaries)WEBUTIL also contains javabean. I don't know why you have this restriction, i'd say you won't succeed without any java-bean.

  • Icons not displaying in oracle forms.

    Hi All,
    I am trying to display icons on Oracle forms 10g.I just brought over these forms from another system and I am trying to display the icons like next record, clear form etc..
    I have done the following steps so far. The icons are still not displaying. Appreciate any help.
    Created a folder in D:\oracle\oracleas\forms\java called icons.
    Copied all gif files and jpeg files into icons. Then created a jar file.
    D:\oracle\oracleas\forms\java>jar -cvf my_icons.jar icons
    It created the jar file in the same directory D:\oracle\oracleas\forms\java
    Also changes were made to these files as shown below each file.
    forms.conf
    AliasMatch ^/forms/icons/(..*) "D:\oracle\oracleas\forms\java\icons/$1"
    registry.dat
    default.icons.iconpath=http://servername:7778/forms/java/
    formweb.cfg
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=codebase
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar,frmmain.jar, frmjdapi.jar, my_icons.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar,frmmain.jar, frmjdapi.jar, my_icons.jar
    Also added this line under orion-web-app in orion-web.xml file.
         <virtual-directory virtual-path="/icons" real-path="D:\oracle\oracleas\forms\java\icons" />
    Restarted the OC4J forms server after any change.

    To test your configuration, you can try building an URL:
    i.e.
    http://localhost:8889/forms/frmservlet/icons/iconname.gif
    Does it show the icon ?
    If that does not work, I would try re-generating the my_icons.jar file, but instead of going directly to the forms/java/icons folder, copy the icons folder to the root directory i.e. c:\icons and execute the command to jar the icons folder, then redeploy the my_icons.jar file.
    Then try again with the URL... if the URL does not work, you still have configuration issues.
    PS: Don't forget to clear the cache in your browser so that the new .jar files is loaded?
    Furthermore:
    ========
    Remove the changes made to the forms.conf and orion-web.xml, they are only needed if the icons are
    not stored in a .jar file.
    forms.conf
    AliasMatch ^/forms/icons/(..*) "D:\oracle\oracleas\forms\java\icons/$1"
    orion-web.xml
    <virtual-directory virtual-path="/icons" real-path="D:\oracle\oracleas\forms\java\icons" />
    Edited by: Rodolfo Ferrari on Jun 17, 2009 6:14 PM
    To double check your configuration, follow steps in metalink note 232413.1 - How to Deploy Iconic Images via a JAR File in Forms 9i/10g?.
    Edited by: Rodolfo Ferrari on Jun 17, 2009 7:19 PM
    Edited by: Rodolfo Ferrari on Jun 17, 2009 7:24 PM

  • Storing an Excel File in the Oracle Table through Oracle Form (10g)

    Hi,
    We have the below requirement in the Oracle Forms (10g).
    Database: 11g
    Application: R12
    We need to provide an upload functionality to the user, so that he can upload an excel file into the form (from the local system), this is achived.
    Now what we need to do is that we need to capture the path of the document (in the local system) and we need to store the document in a Oracle table.
    Next we need to validate the records that are being loaded and the error records should be written into one more file and that file also we need to store in an Oracle table, this is because, i need to query this error file from the table later and need to send to the user as an e-mail.
    Basically i started off with the below code just for the POC. but iam facing the error. Please help. I did not put this code in my form.
    Create Table Email_Attachments(Id_Pk Integer Primary Key,Fname Varchar2(50),Image Blob);
    Create Or Replace Directory Temp As 'C:\';
    Create Or Replace Procedure Load_File(Pi_Id In Integer, Pfname In Varchar2) Is
    Src_File Bfile;
    Dst_File Blob;
    Lgh_File Binary_Integer;
    Begin
    Src_File := Bfilename('TEMP', Pfname);
    Insert Into Email_Attachments (Id_Pk,Fname,Image)
    Values (Pi_Id,Pfname, Empty_Blob())
    Returning Image Into Dst_File;
    Dbms_Lob.Open(Src_File, Dbms_Lob.File_Readonly);
    Lgh_File := Dbms_Lob.Getlength(Src_File);
    Dbms_Lob.Loadfromfile(Dst_File, Src_File, Lgh_File);
    Dbms_Lob.Close(Src_File);
    Commit;
    End;
    begin
    Load_File(1,'test.txt');
    end;
    ERROR
    ORA-22288: file or LOB operation FILEOPEN failed
    No Such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 1014
    ORA-06512: at "SYS.LOAD_FILE", line 10
    ORA-06512: at line 2
    How to capture the Path from which he has loaded the file?
    How to Write the error records it to the file and store it in an Oracle table?
    Will the below table be of use to me?
    fnd_lobs_document
    fnd_lobs
    fnd_documents
    Please share your ideas as to how to acheive this.
    Thanks and Regards
    Srinivas

    When you want to process the file, them it depends on the format. "Excel file" is a term that is used for a variety of file formats, mostly simple CSV, binary (true) XLS and XLSX.
    So to get help you have to give us more information. Since the file is already in the db you might get better answers at {forum:id=75}. The forum has a FAQ that has a whole section {message:id=9360007}.
    Regards
    Marcus

  • Replacement for Exit_Menu Built-in in Oracle Forms 10g

    Hi All,
    Is there any replacement available for Exit_Menu in oracle forms 10g?.
    Regards,
    Prasad.

    No. Menus built-in associated with full-screen display and character mode have been removed in 10g.

  • Loading image from jars only once in oracle forms 10g

    Hi,
    I have an oracle forms 10g application which loads image from a jar. Every time i click on a button "A" that loads the image "image" on another button "B" in the same screen, a message is displayed in the java console "Loaded image: jar:https://+IP+/forms/java/+myjar+.jar!/image.gif". So after 10 clicks, i get the same message displayed 10 times. In the form, i've called:
    SET_CUSTOM_PROPERTY(p_object_name, 1, 'IMAGE_NAME_ON', '/'||p_image_name);My question is the following:
    - is there a way to load this image once and use it later without having to load it every time i clik on "A"? if yes, how?
    P.S.: if this thread shouldn't be posted in this forum, please redirect me to the right one.
    Thanks in advance

    Ah okay.
    I'm using the rolloverbutton.jar (RollOver Button PJC) [RolloverButton.java -> authors: Steve Button, Duncan Mills].
    Here is the part concerning the IMAGE_NAME_ON function:
    // make sure we are in rollover mode
    enableRollover();
    log("setProperty - IMAGE_NAME_ON value=" + value.toString());
    // load the requested image
    m_imageNameOn = (String) value;
    loadImage(ON,m_imageNameOn);
    // reset the currrently drawn image if needed
    setImage(ON,m_state);
    return true;where loadImage function is:
        URL imageURL = null;
        boolean loadSuccess = false;
        //JAR
        log("Searching JAR for " + imageName);
        imageURL = getClass().getResource(imageName);
        if (imageURL != null)
          log("URL: " + imageURL.toString());
          try
            m_images[which] = Toolkit.getDefaultToolkit().getImage(imageURL);
            loadSuccess = true;
            log("Image found: " + imageURL.toString());
          catch (Exception ilex)
            log("Error loading image from JAR: " + ilex.toString());
        else
          log("Unable to find " + imageName + " in JAR");
        //DOCBASE
        if (loadSuccess == false)
          log("Searching docbase for " + imageName);
          try
            if (imageName.toLowerCase().startsWith("http://")||imageName.toLowerCase().startsWith("https://"))
              imageURL = new URL(imageName);
            else
              imageURL = new URL(m_codeBase.getProtocol() + "://" + m_codeBase.getHost() + ":" + m_codeBase.getPort() + imageName);
            log("Constructed URL: " + imageURL.toString());
            try
              m_images[which] = createImage((java.awt.image.ImageProducer) imageURL.getContent());
              loadSuccess = true;
              log("Image found: " + imageURL.toString());
            catch (Exception ilex)
              log("Error reading image - " + ilex.toString());
          catch (java.net.MalformedURLException urlex)
            log("Error creating URL - " + urlex.toString());
        //CODEBASE
        if (loadSuccess == false)
          log("Searching codebase for " + imageName);
          try
            imageURL = new URL(m_codeBase, imageName);
            log("Constructed URL: " + imageURL.toString());
            try
              m_images[which] = createImage((java.awt.image.ImageProducer) imageURL.getContent());
              loadSuccess = true;
              log("Image found: " + imageURL.toString());
            catch (Exception ilex)
                    log("Error reading image - " + ilex.toString());
          catch (java.net.MalformedURLException urlex)
            log("Error creating URL - " + urlex.toString());
        if (loadSuccess == false)
          log("Error image " + imageName + " could not be located");In this case, what shall i modify?
    Thanks in advance

Maybe you are looking for

  • Employee hire via HR_MAINTAIN_MASTERDATA

    Hi, I am trying to create employee via FM using HR_MAINTAIN_MASTERDATA, unfortunately I am facing some issues when I am creating IT0001(Organizational Assignment) , I get an error stating that IT0003 is not creating for the given ID. What i would lik

  • HDR layer locked

    Hi everyone, I hope someone can help me. I'm working in CS3, trying to work on an HDR image composed of three auto-bracketed CR2 files. The result is a photoshop file which cannot be adjusted, at all. No basic level adjustment or hue/saturation, or a

  • Apple Tv sound dropout with optical cable

    Hi there, First of all Merry Christmas to everybody out there... I received yesterday for christmas the latest apple TV. I connected it to my tv with HDMI cable and to hifi, bose home cinema lifestyle 28, with optical cable. Sound through HDMI cable

  • Problem in using Bapisdorder_Getdetailedlist

    Hi All, I am using Bapisdorder_Getdetailedlist to display sales order details. I have written following code. Bapisdorder_Getdetailedlist_Input salesOrderInfo = new Bapisdorder_Getdetailedlist_Input(); wdContext.nodeBapisdorder_Getdetailedlist_Input(

  • Change pricelist of a document

    Hello together, I am looking for a property or something else in the Documents Object to set another pricelist to the document like the one provided by the customers default list. Sebastian