Displaying Static Files

I need some help in displaying a static file in an HTML region on a page. I have uploaded the file (a Unix script) in question (ds_broker_gim,sh) to the Static Files.
I have a page with a report based on a Select List Item (P28_SCRIPT). This Select List has all of the unix scripts involved in an Autosys jobs. I want to drill into the script to view it.
I've tried the following to no avail:
<img src="#APP_IMAGES#&P28_SCRIPT.">
<img src="&APP_IMAGES.&P28_SCRIPT.">
<img src="#APP_IMAGES#BOA_Logo.GIF"> (this works ok but not what i want. this is a .gif file as the P@*SCRIPT is a text file. Don't know if that makes any difference? The text files are Static files wheraes the gif file is an Image. I presume that either way, they are loaded and retrieved from wwvflow_file_mgr.get_file)
When I run the page, I get an image icon but no rendering of the text file? I look at the properties of the images and it shows: wwv_flow_file_mgr.get_file?p_security_group_id=5240132416889565092&p_flow_id=38227&p_fname=ds_ods_clients_gim.sh which should render the file?
Obviously, I'm confused and would appreciate your assistance! Thanks

Sorry once again - why cna't I cut n' paste here??
Again, here's the syntax I'm using to display a static text file in a HTML region on a page: Ignore the single quotes as I think that is what is deleting the code?
' <img src="#APP_IMAGES#&P28_SCRIPT."> '
' <img src="&APP_IMAGES.&P28_SCRIPT."> '
' <img src="#APP_IMAGES#BOA_Logo.GIF"> '

Similar Messages

  • Displaying Static File

    Hi
    I'm want to display the static html file ( kept in the project folders) in following three ways.
      1. The static html file open in new window
      2. the static html file opening in the same window.
      3. the static html file opening in different pane of the same window (like using IFrame )
    I tried using the linkToUrl UI Element and for the last one linkToAction UI Element.
    My question is :
    a) How do I call the HTML file and send it to a context.
    b) Where should i insert the code, i mean in which method i should write the code.
    can some one can provide me solution to my problem, given the specifications i want to develop it.
    Thanks in Advance
    Srikant

    Hi guys,
    I've found a little method and it work fine.
    Don't forget to reward points
    The method is:
    Create an <b>HTTP aliases in the J2EE AS JAVA.</b>
    1. Create a folder where you want to put your static files :
    ex: <b>c:/folder1</b>
    put your index.html file and other ressources
    2. Create an aliases in the http provider
    Go to Visual Admin Tool.
    Go to your <b>server node -> services -> HTTP PROVIDER</b>
    In <b>Virtual Host tab</b>
    click on default
    then on the right, go to <b>Aliases tab</b>
    in field Alias put the name you want: ex=<b>test</b>
    in field path put the path you have created: <b>ex=c:/folder1</b>
    <b>click on Add button</b>
    <b>click on save properties</b>
    Don't forget to clear cash, some time you have to restart the server.
    Go to :
    <b>http://<your host>:<your port>/test</b>
    It's working !
    <b>I hope it can help a lot of people.
    Don't forget to reward points ;)</b>
    Thanks
    Regards
    Gregory

  • WebDAV, XDB and Static File

    How to..
    <OL type="1">
    <LI>Using only what XE offers out-of-box, configure XE/XDB/Listener/whatnot to display static file (e.g index.html) at the root URL: http:// localhost:8080
    <LI>NOT using IE,Create folder in XDB
    </OL>
    thanks
    <span style="font-size:11;">Sorry searched but seems like lots of little pieces of info scattered everywhere,</span

    It can be. In theory the validation that does on when it's updated should catch all bad errors. In general I approach this as follows..
    Get the document out use FTP. Make a backup copy :). Edit using you favorite XML editor. Put back in using FTP. More often than not if it's something I expect to do many times I will create a SQL statement to do the changes and use dbms_xdb.cfgget and cfgupd to do the changes. I also have an xdb_configuration package that get methods for the really common ones. Latest version of the code is shown below...
    alter session set current_schema = XDBPM
    create or replace view DATABASE_SUMMARY_10200
    as
    select d.NAME, p.VALUE "SERVICE_NAME", i.HOST_NAME, n.VALUE "DB_CHARACTERSET"
      from v$system_parameter p, v$database d, v$instance i, nls_database_parameters n
    where p.name = 'service_names'
       and n.parameter='NLS_CHARACTERSET';
    show errors
    grant select on DATABASE_SUMMARY_10200 to public
    create or replace package XDB_CONFIGURATION_10200
    AUTHID CURRENT_USER
    as
    function   getDatabaseSummary return xmltype;
    procedure  folderDatabaseSummary;
    procedure  addSchemaMapping
                   NAMESPACE varchar2,
                   ROOT_ELEMENT varchar2,
                   SCHEMA_URL varchar2
    procedure addMimeMapping
                 EXTENSION varchar2,
                 MAPPING varchar2
    procedure  addServletMapping
                   pattern varchar2,
                   servletname varchar2,
                   dispname varchar2,
                   servletclass varchar2,
                   servletschema varchar2,
                   language varchar2 := 'Java',
                   description varchar2 := '',
                   securityRole xmltype := NULL
      procedure deleteservletMapping
                  servletname varchar2
      procedure setAnonymousAccess
                  STATE varchar2
    end XDB_CONFIGURATION_10200;
    show errors
    create or replace view DATABASE_SUMMARY_XML_10200 of xmltype
    with object id
    'DATABASE_SUMMARY'
    as select XDB_CONFIGURATION_10200.getDatabaseSummary() from dual
    create or replace trigger NO_DML_OPERATIONS_ALLOWED
    instead of insert or update or delete on DATABASE_SUMMARY_XML_10200
    begin
    null;
    end;
    grant select on DATABASE_SUMMARY_XML_10200 to public
    create or replace public synonym DATABASE_SUMMARY_XML for DATA_SUMMARY_XML_10200
    create or replace package body XDB_CONFIGURATION_10200 as
    function getDatabaseSummary
    return XMLType
    as
      summary xmltype;
      dummy xmltype;
    begin
      select dbms_xdb.cfg_get()
      into dummy
      from dual;
      select xmlElement
               "Database",
               XMLAttributes
                 x.NAME as "Name",
                 extractValue(config,'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port') as "HTTP",
                 extractValue(config,'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port') as "FTP"
               xmlElement
                 "Services",
                   xmlForest(SERVICE_NAME as "ServiceName")
               xmlElement
                 "NLS",
                   XMLForest(DB_CHARACTERSET as "DatabaseCharacterSet")
               xmlElement
                 "Hosts",
                   XMLForest(HOST_NAME as "HostName")
               xmlElement
                 "VersionInformation",
                 ( XMLCONCAT
                            (select XMLAGG(XMLElement
                               "ProductVersion",
                               BANNER
                            )from V$VERSION),
                            (select XMLAGG(XMLElement
                               "ProductVersion",
                               BANNER
                            ) from ALL_REGISTRY_BANNERS)
      into summary
      from DATABASE_SUMMARY_10200 x, (select dbms_xdb.cfg_get() config from dual);
      summary := xmltype(summary.getClobVal());
      return summary;
    end;
    procedure folderDatabaseSummary
    as
      resource_not_found exception;
      PRAGMA EXCEPTION_INIT( resource_not_found , -31001 );
      targetResource varchar2(256) := '/sys/databaseSummary.xml';
      result boolean;
      xmlref ref xmltype;
    begin
       begin
         dbms_xdb.deleteResource(targetResource,dbms_xdb.DELETE_FORCE);
       exception
         when resource_not_found then
           null;
       end;
       select make_ref(XDBPM.DATABASE_SUMMARY_XML_10200,'DATABASE_SUMMARY')
       into xmlref
       from dual;
       result := dbms_xdb.createResource(targetResource,xmlref);
       dbms_xdb.setAcl(targetResource,'/sys/acls/bootstrap_acl.xml');
    end;
    procedure addServletMapping (pattern varchar2,
                                 servletname varchar2,
                                 dispname varchar2,
                                 servletclass varchar2,
                                 servletschema varchar2,
                                 language varchar2 := 'Java',
                                 description varchar2 := '',
                                 securityRole xmltype := NULL
    as
      xdbconfig xmltype;
    begin
       xdbconfig := dbms_xdb.cfg_get();
       select deleteXML
                xdbconfig,
                '/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-list/servlet[servlet-name="' || servletname || '"]'
              into xdbconfig
              from dual;
       if (language = 'C') then
         select insertChildXML
                  xdbconfig,
                  '/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-list',
                  'servlet',
                  xmlElement
                    "servlet",
                    xmlAttributes('http://xmlns.oracle.com/xdb/xdbconfig.xsd' as "xmlns"),
                    xmlForest
                       servletname as "servlet-name",
                       language as "servlet-language",
                       dispname as "display-name",
                       description as "description"
                    securityRole           
           into xdbconfig
           from dual;
       else
         select insertChildXML
                  xdbconfig,
                  '/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-list',
                  'servlet',
                  xmlElement
                    "servlet",
                    xmlAttributes('http://xmlns.oracle.com/xdb/xdbconfig.xsd' as "xmlns"),
                    xmlForest
                       servletname as "servlet-name",
                       language as "servlet-language",
                       dispname as "display-name",
                       description as "description",
                       servletclass as "servlet-class",
                       servletschema as "servlet-schema"
           into xdbconfig
           from dual;
       end if;
       select deleteXML
                xdbconfig,
                '/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-mappings/servlet-mapping[servlet-name="' || servletname || '"]'
              into xdbconfig
              from dual;
       select insertChildXML
                xdbconfig,
                '/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-mappings',
                'servlet-mapping',
                xmltype
                   '<servlet-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
                      <servlet-pattern>'||pattern||'</servlet-pattern>
                      <servlet-name>'||servletname||'</servlet-name>
                    </servlet-mapping>'
         into xdbconfig
         from dual;
      dbms_xdb.cfg_update(xdbconfig);
    end;
    procedure deleteservletMapping (servletname varchar2)
    as
      xdbconfig xmltype;
    begin
       xdbconfig := dbms_xdb.cfg_get();
       select deleteXML
                xdbconfig,
                '/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-list/servlet[servlet-name="' || servletname || '"]'
              into xdbconfig
              from dual;
       select deleteXML
                xdbconfig,
                '/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-mappings/servlet-mapping[servlet-name="' || servletname || '"]'
              into xdbconfig
              from dual;
      dbms_xdb.cfg_update(xdbconfig);
    end;
    procedure addSchemaMapping(NAMESPACE varchar2, ROOT_ELEMENT varchar2, SCHEMA_URL varchar2)
    is
      xdbConfig xmltype;
    begin
      xdbConfig := dbms_xdb.cfg_get();
      if (xdbConfig.existsNode('/xdbconfig/sysconfig/schemaLocation-mappings','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"') = 0) then
        select insertChildXML
                     xdbConfig,
                     '/xdbconfig/sysconfig',
                     'schemaLocation-mappings',
                     xmltype('<schemaLocation-mappings xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"/>'),
                     'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
          into xdbConfig
          from dual;
      end if;
      if (xdbConfig.existsNode('/xdbconfig/sysconfig/schemaLocation-mappings/schemaLocation-mapping[namespace="'|| NAMESPACE ||'" and element="'|| ROOT_ELEMENT ||'"]','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"') = 0) then
        select insertChildXML
                     xdbConfig,
                     '/xdbconfig/sysconfig/schemaLocation-mappings',
                     'schemaLocation-mapping',
                     xmltype('<schemaLocation-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"><namespace>' || NAMESPACE || '</namespace><element>' || ROOT_ELEMENT || '</element><schemaURL>'|| SCHEMA_URL ||'</schemaURL></schemaLocation-mapping>'),
                     'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
          into xdbConfig
          from dual;
      else
        select updateXML
                 xdbConfig,
                 '/xdbconfig/sysconfig/schemaLocation-mappings/schemaLocation-mapping[namespace="'|| NAMESPACE ||'" and element="'|| ROOT_ELEMENT ||'"]/schemaURL/text()',
                 SCHEMA_URL,
                 'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
          into xdbConfig
          from dual;
      end if;
      dbms_xdb.cfg_update(xdbConfig);
    end;
    procedure addMimeMapping(EXTENSION varchar2, MAPPING varchar2)
    is
      xdbConfig xmltype;
    begin
      xdbConfig := dbms_xdb.cfg_get();
      if (xdbConfig.existsNode('/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings/mime-mapping[extension="' || EXTENSION || '"]','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"') = 0) then
        select insertChildXML
                     xdbConfig,
                     '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings',
                     'mime-mapping',
                     xmltype('<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
                <extension>' || EXTENSION || '</extension>
                <mime-type>' || MAPPING   || '</mime-type>
                </mime-mapping>'),
                     'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
          into xdbConfig
          from dual;
      else
        select updateXML
                 xdbConfig,
                 '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings/mime-mapping[extension="' || EXTENSION || '"]/mime-type/text()',
                 MAPPING,
                 'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
          into xdbConfig
          from dual;
      end if;
      dbms_xdb.cfg_update(xdbConfig);
    end;
    procedure setAnonymousAccess(STATE varchar2)
    is
      xdbConfig xmltype;
    begin
      xdbConfig := dbms_xdb.cfg_get();
      if (xdbConfig.existsNode('/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access') = 0) then
        select insertChildXML
                     xdbConfig,
                     '/xdbconfig/sysconfig/protocolconfig/httpconfig',
                     'allow-repository-anonymous-access',
                     xmltype('<allow-repository-anonymous-access xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">' || lower(STATE) || '</allow-repository-anonymous-access>'),
                     'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
          into xdbConfig
          from dual;
      else
        select updateXML
                 xdbConfig,
                 '/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access/text()',
                 lower(STATE),
                 'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
          into xdbConfig
          from dual;
      end if;
      dbms_xdb.cfg_update(xdbConfig);
    end;
    end XDB_CONFIGURATION_10200;
    show errors
    grant execute on XDB_CONFIGURATION_10200 to public
    create or replace public synonym XDB_CONFIGURATION for XDB_CONFIGURATION_10200
    desc XDB_CONFIGURATION
    show errors
    call xdb_configuration.folderDatabaseSummary()
    set echo on
    set pages 100
    set long 10000
    select xdburitype('/sys/databaseSummary.xml').getXML() from dual
    alter session set current_schema = SYS
    /Note that some of these issues (which are non XE specific) are also discussed in the XDB forum
    XML DB

  • Not able to access files from Workspace Images and Static files

    Hi,
    We have just migrated our APEX Application from one server to another.
    All the functionality is working fine except the images or files which we are uploading
    in
    Shared Components -> Static Files
    Shared Components -> Images
    We are uloading Images in Shared Components -> Images but those are not getting displayed there.
    Similarly the files which we are uploaded in Shared Components -> Static Files are not accessible. If we
    try to download using download icon its showing blank screen.
    I am using some javascript files which i have uploaded into static files, but not able to refer them in page.
    Please someone guide us how to resolve the above problem.
    Thanks in advance.
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on May 25, 2010 1:35 AM
    Edited by: user11204334 on May 25, 2010 3:45 AM

    Hello Sanjay,
    If you upload any static files such as IMAGES, FILES, or CSS you have to use the tags: #WORKSPACE_IMAGES# or #IMAGE_PREFIX# depending on your files location..
    then try something like htp.p ('<img src="#IMAGE_PREFIX#fileName.gif" />');
    And it should show the fileName.gif on your browser...
    I am not sure if i remember correctly, you can reference files to a specific application or to the whole application, if I am not mistaken..Correct me..
    Regards,
    Noel Alex Makumuli,
    Tanzania

  • How to Clear Cache for an Old Static File in Shared Components

    Hello,
    I am using Apex 4.1.1.00.23, HTTP Server with mod_plsql, and Oracle Database 10.2.0.5.0.
    My situation is as follow:
    I have a CSS static file in the shared components that is used in different applications. I recently modified the CSS file, but the changes are not reflected in my applications.
    I tried clearing the cache of my browsers, deleting the file from shared components and creating a new one with the same name, and nothing is working.
    Using Firebug, I can see that the file used in my pages is the old version of it. Anyone can tell me if the server is caching the file and how can I clear it?
    Thank you for your help,
    Erick

    What kind of document is it (e.g. is this a parsed
    HTML file, or a static file)? have you adjusted your
    cache settings with the nsfc.conf file? have you
    enabled the nsfc report? Are the files stored on NFS
    volumes?
    Regardless, you can force the cache to be flushed by
    enabling the nsfc report, and then accessing the URI
    like so:
    /nsfc?restart
    See the Performance and Tuning Guide:
    http://docs.sun.com/source/817-1836-10/perftune.html#w
    p17232I tried to to do this. Did n't worked. /nsfc?restart is not working for me. I have IPlanet 6.1 Webserver version. Without having any backend server running, I am getting JSPs displayed from cache!! Please help me out.

  • Static file access.

    I figured out how to upload a file I need for an app into the shared components in the shared files area.
    I've looked through the docs, the forum and help screens and I can't see how I use this now in my app. I want to create a link to get the file back when the user clicks on it. but I cannot find any info on how to display a link to that static file. how is this done? more important, where is it documented? its not under static files any where in the docs.

    You can refer to those files by using #WORKSPACE_IMAGES# substitution string for both static or image files.
    Sample if it is an image (note that no slash "/")
    &lt;img border="0" src="#WORKSPACE_IMAGES#img.jpg" &gt;
    If it is script file -
    &lt;script type="text/javascript" src="#WORKSPACE_IMAGES#autofilter.js"&gt;&lt;/script&gt;
    Ittichai
    Edited by: ittichai on Mar 10, 2009 9:01 PM

  • Embeding Uploaded PDF Static Files - Problems

    Good morning all.
    I have an application where users enter details and need to read through a selection of documents depending on what details they entered. I have uploaded 5 documents to my Apex server and used the following code to embed them inline (within the HTML itself)
    <EMBED
    SRC="http://server_name:7777/pls/apex/wwv_flow_file_mgr.get_file?p_security_group_id=824213546944709&p_fname=file1.PDF&p_inline=NO"
    HEIGHT=500 WIDTH=800>This code was taken from the links on the Shared Components -> Static Files page in the Application builder
    This all worked file on my development server, all the documents were displaying inline with the HTML document (Example - http://www.planetpdf.com/mainpage.asp?webpageid=1682 Example #1)
    However, I realised one of the documents being displayed was wrong - file 1 was showing instead of file 2. I had embeded the wrong file in the page. So I just changed the &p_fname to file2.pdf. When I ran the page, all the other embeded documents were working fine, but the recently updated one was popping out of the window, and the region where I embeded the file was blank.
    Now, I just exported my application to a new server for testing, and have had to change all the embeded regions to point to the newly uploaded files on the new server. None of these now show anything. They either show the little picture icon (red square, blue circle, red triangle) if I include the &p_inline=YES code, the same icon if I say &p_inline=NO instead, or if I drop this argument, the entire region is blank, and the Adobe PDF icon displays streched across the region after a new seconds.
    Any hints?
    Cheers,
    Kate

    Thanks for that Denes.
    I just have one question - the source for your XML Report region shows the following code
    DECLARE
       v   VARCHAR2 (200);
    BEGIN
       v :=
             'SELECT '
          || '''<iframe src="#OWNER#.File_Table_Disp_Pr?p_file='
          || 2967670122524254593
          || '"'
          || ' height="880" width="600"></iframe>'''
          || ' document_display'
          || ' FROM DUAL';
       RETURN v;
    END;The "2967670122524254593" refers to that file that was uploaded, yes? How do I find this number for my uploaded documents? I think it was a table somewhere, but I can't for the life of me remember which one.
    Update: I found it - apex_applcation_files. I should just be able to insert the ID of the document I want in there, yes? I copied my document ID number (select id from apex_application_files) but the document is 404'ing on me.
    help?

  • Use a static file as HTML region source

    Hi All,
    Sorry for maybe trivial question, but is there a way to use static files as HTML region source? The files are simple enough but have to be translated so we'd rather keep them as static files, rather than paste them in multiple region sources to display conditionally.
    I tried something like
    <embed src="#WORKSPACE_IMAGES#&FSP_LANGUAGE_PREFERENCE.file01.txt" >
    This however is showing the HTML source on screen and not rendering it as html.
    The other option I tried is creating an URL region that would get the content from the same server, e.g.:
    http://localhost:9080/apex/wwv_flow_file_mgr.get_file?p_security_group_id=4874627831984398&p_fname=en_file01.txt
    ... but I'm running against an access control list (ACL) error. The file opens when one loads the link directly in a browser but localhost apparently is not allowed in ACL and I would not have sysdba access where I deploy.
    finally I saw recommendation to use an iframe in a similar discussion to display pdf file here Display PDF in Apex Region land tried
    <iframe src="#WORKSPACE_IMAGES#&FSP_LANGUAGE_PREFERENCE.file01.txt&embedded=true" style="" ></iframe>
    but receive "Not found
    The requested URL /apex/wwv_flow_file_mgr.get_file was not found on this server" as if the file name is not received at all? Same name is parsed correctly in the embed tag.
    Please help
    Atanas

    Hello Atanas,
    >> the shortcuts text does not get into the translations …
    Just so you know, and for future reference, the shortcuts of type Message are fully translatable (as mentioned in the documentation Jari pointed out to you).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Is there any way to display a file that contains text and pictures

    Hi all,
    I was wondering if java has any way to display a file that contains both text and pictures. I have tried using the RTFEditorKit and using an RTF file and it only diplays the text contained in the file and omits the pictures all together.
    code:
    import java.awt.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.text.rtf.RTFEditorKit;
    public class Test
         JScrollPane scroll;
         JEditorPane edit=new JEditorPane();
         RTFEditorKit kit=new RTFEditorKit();
         public Test()
              final JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         edit.setEditorKit(kit);
         edit.setEditable(false);
         try
              kit.read(new FileReader(new File("Installation.rtf")),edit.getDocument(),0);
              catch(Exception e)
                   JOptionPane.showMessageDialog(null, e);
         frame.getContentPane().add(new JScrollPane(edit));
         Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              frame.setBounds(0,0,screenSize.width, screenSize.height);
         frame.show();
         public static void main(String[] args)
    new Test();
    Please help!
    thanks in advance,
    Denise

    Not good as that usually means the project itself was corrupt.
    Any chance you sync'd to Creative Cloud? That's the only way I know of that backs up your PS Touch (PSDX) files.

  • Display big file

    Hi,
    I want to display the content of a file (900 Ko) into a JEditorPane
    to read the file is fast but to display it is very slow (30 seconds)
    how can i improve that
    thank you
    PS : i use Forte to develop and when i open the file into it, it is very fast ! does anyone know how it handles that

    > I use LabWindows/CVI 5.0.1.
    > I want to display a big Bitmap file.
    > The size of the file is about 24M. The file is 5000 pixel * 5000 pixel
    > * 8 bit.
    > The file is a map.
    > The GetBitmapFromFile return static is -12.
    > CVI can not load the big Bitmap file. CVI help mean 'memory is over.
    >
    > How can I display the file ?
    You will not be able to display it in a Canvas, there's a bug/limitation in
    CVI and it won't display over someting like 3000 pixels wide. What I do is
    load in memory (as a char*) and then break it to pieces and display it in
    separate canvases. It's a waste of time but I have no better to offer...
    Guillaume Dargaud
    CNR/IFA
    http://sung3.ifsi.rm.cnr.it/~dargaud/
    http://sung3.ifsi.rm.cnr.it/~domec/
    http://www.appennini.it/roma8000/
    ht
    tp://sodarserver.ifa.rm.cnr.it/
    "There are three kinds of lies: lies, damned lies, and statistics."
    Disraeli (1804-81), British statesman.

  • Problem with display of files in remote server

    hi,
    i am trying to display to the files on a remote server using JTree. i am able to display local files and directories using JTree but i don't know how to display remote files. can anyone explain how to do it?
    Thank you,
    npaila

    hi,
    i have exactly the same problem.
    Each node of the tree represents a directory. it can be a local or a remote one.
    The only difference is the definition of the File class; the TreeNode class is the same for both.
    Everything works correctly with local Files and fails with remote files.
    Everything means : directory creation, supression, rename, expand all recursive subdirectories.
    I can expand each node, even the ones associated with remote files, with user actions (mouse click, key typed) but I can't expand any node by programing.
    Each action is efficient on the remote server, but the display doesn't change at all.
    Something strange is that when I create a new JTree with a remote file as the root, expand all its recursive subdirectories and then display the Tree, it has correctly expanded.
    Is it a refresh problem ?
    Please help us, give us a clue...
    Thx for advance
    chocodup

  • I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat.

    Dear everyone
    I need to configure Acrobat to display PDF files in Safari, but I have a lot of troubles to do it.
    I read a european commission document explaining that
    http://ec.europa.eu/research/participants/data/support/sep_usermanual.pdf
    If Safari does not display pdf forms in the browser window, uninstall all older versions of Adobe Reader and download the most recent one. First close Safari and then install Reader. Launch Safari and you ought to be able to open the pdf files inside the Safari window. If you install Adobe Reader 10.1.x without first closing Safari, Safari will not display the pdf file inside its browser window until it is re-launched. For further help, please see http://helpx.adobe.com/acrobat/kb/troubleshoot-safari-plug-acrobat-x.html
    I have OX S yosemite, I unistalled adobe acrobat, I closed safary and I installed the new version of adobe acrobat
    but when I open a web page that I need to allow me to display and modify PDF files it is not working.
    I checked the following web page
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    that is recommending the following:
    The AdobePDFViewer plug-in is used to display PDF files in Safari using Acrobat and Reader.
    This plug-in is installed as part of the Acrobat X or Reader X installation. The location of this plug-in is:
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    but after the new installation with this folder is completely empty and I am still
    unable to open these pdf.
    Does anybody knows anything else I can do?
    Best regards
    Ramon

    Moving this discussion to the Adobe Reader forum.

  • Bug: can't access static files with space in the path

    Please let me know if this a a wrong place to file bug reports.
    I installed webserver7u4 and when I try to access a static file within my war which contains a space in the path, I get HTTP404.
    $ ls webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black\ spinner/1.png
    webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black spinner/1.png
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png
    "--13:47:06-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 404 Not found
    13:47:06 ERROR 404: Not found.Now, if I create a symlink to a path that contains url encoded space, everything works:
    $ ls -l webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner
    lrwxrwxrwx 1 root root 13 Aug 1 2008 webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner -> black spinner
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png"
    --13:49:37-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,446 (1.4K) [image/png]
    100%[======================================================================== =======================================>] 1,446 --.--K/s
    13:49:37 (89.76 MB/s) - `/dev/null' saved [1446/1446]So to me it appears that webserver doesn't decode the path before searching the local file system, which to me looks like a bug.
    Let me know if you need more info.
    cheers,
    Igor

    HTTP/1.1 RFC [http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2|http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2]
    3.2 Uniform Resource Identifiers
    URIs have been known by many names: WWW addresses, Universal Document Identifiers,
    Universal Resource Identifiers [3], and finally the combination of
    Uniform Resource Locators (URL) [4] and Names (URN)  ... where
    3 is a link to [http://www.ietf.org/rfc/rfc1630.txt|http://www.ietf.org/rfc/rfc1630.txt] section BNF for specific URL schemes
      httpaddress              h t t p :   / / hostport [  / path ] [ ?search ]
      path                   void |  segment  [  / path ]
      segment                xpalphas
      xpalphas               xpalpha [ xpalphas ]
      xpalpha                xalpha | +
      xalpha                 alpha | digit | safe | extra | escape
      alpha                  a | b | c | d | e | f | g | h | i | j | k |
                             l | m | n | o  | p | q | r | s | t | u | v |
                             w | x | y | z | A | B | C  | D | E | F | G |
                             H | I | J | K | L | M | N | O | P |  Q | R |
                             S | T | U | V | W | X | Y | Z
      digit                  0 |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
      safe                   $ | - | _ | @ | . | &  | + | -
      extra                  ! | * |  " |  ' | ( | )  | ,
      escape                 % hex hex
      hex                    digit | a | b | c | d | e | f | A | B | C | D | E | F{code}
    4 is a link to RFC 1738 Uniform Resource Locators (URL)
    [http://www.ietf.org/rfc/rfc1738.txt|http://www.ietf.org/rfc/rfc1738.txt] section 5. BNF for specific URL schemes
    has :
    {code}
    httpurl        = "http://" hostport [ "/" hpath [ "?" search ]]
    hpath          = hsegment *[ "/" hsegment ]
    hsegment       = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
    uchar          = unreserved | escape
    escape         = "%" hex hex
    hex            = digit | "A" | "B" | "C" | "D" | "E" | "F" |
                                 "a" | "b" | "c" | "d" | "e" | "f"
    unreserved     = alpha | digit | safe | extra
    alpha          = lowalpha | hialpha
    lowalpha       = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" |
                     "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |
                     "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" |
                     "y" | "z"
    hialpha        = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" |
                     "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" |
                     "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"
    digit          = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" |"8" | "9"
    safe           = "$" | "-" | "_" | "." | "+"
    extra          = "!" | "*" | "'" | "(" | ")" | ","
    {code}
    I do not see space in these RFCs for httpurl.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Export to Excel and Save as Static File

    Hello all,
    When I export to excel from SharePoint 2013, and save the file, the data remains dynamic in that if I update the list in SharePoint it will update the data in Excel. This is great and I use it in a few places, but I also need to capture a point in time and
    save the exported Excel file as static data (i.e. Export to Excel, and Save as the Q3 Report). How can I save the file as static/remove the dynamic link so I just have the data at the time of export?
    Thanks!
    K.
    Personal Blog: http://thebitsthatbyte.com

    Hi Kelly,
    According to your description, my understanding is that you want to export to excel as a static file.
    In SharePoint, when you export list to excel, it works as a one-way sync. It can sync data from SharePoint to Excel. If you don’t want to sync the data from SharePoint, you can copy the data from the exported excel file to a new excel, then save the new
    excel file.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Does anyone know why after upgrading to Mavericks, Safari will not display PDF files, is there a solution?

    I cannot get Safari to display PDF files, it shows a blank screen with the comment that Safri has blocked PDF, however when you unblock it still does not show the PDF, I have had to rely on Firefox for this, which I find not too good. Any help very much appreciated.

    Update to 10.9.1
    Adobe Reader
    http://helpx.adobe.com/acrobat/kb/blocked-plugin-alert-safari-7.html
    Best.

Maybe you are looking for

  • Can "swipe" page navigation be supressed?

    We recently published a children's book using the Adobe DPS suite. We've had great feedback for the most part, but several professional app reviewers had several usability issues with the platform, specifically the menu system and sensitivity of swip

  • CC 2014, the installation fails by the fatal error exit number: 7

    Hey guys. Since 24 days Im trying to update my Cloud to the CC 2014 but when starting with PS, the installation fails by the fatal error exit number: 7. Whats to do?

  • Question about ClassLoader

    Hi, I am relatively new at Java and not really sure how the runtime resolves classes. Here is the problem I am running into: I have an app that takes a WAR file as input. The WAR file contains a XML file (not web.xml but some other XML that is custom

  • Just upgraded to 5 now I can't sign into yahoo mail, help!!!

    After upgrading to 5 I can no longer access Yahoo mail.  I have changed password and I continue to get either error in password message or server unavailable message.

  • How to recognize a string is  a number?

    for example , i have string a="adc" and b="334", is there function to recognize the a is not number string while b is a string of number format?