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 "/")
<img border="0" src="#WORKSPACE_IMAGES#img.jpg" >
If it is script file -
<script type="text/javascript" src="#WORKSPACE_IMAGES#autofilter.js"></script>
Ittichai
Edited by: ittichai on Mar 10, 2009 9:01 PM

Similar Messages

  • 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • LV2012 Web Services w/ NI Auth login not working w/ static files in Firefox 19

    Hi!
    I followed this procedure to password protect my web service and the static files. 
    http://digital.ni.com/public.nsf/allkb/DF41D5DA8EEB4840862577D90058C208
    When testing it out with my web service it seems to work fine on any web browser.  http://localhost:8080/add/add/1/2 first will present a login.  Once the user is logged in the page refreshes and the results of the operation are shown.  http://localhost:8080/logout works as well.
    I followed the procedure in the FAQ to include an index.html file.
    http://www.ni.com/white-paper/7747/en#toc15
    When I try to access the page (via http:localhost:8080/add/web/index.html) I'm greeted with the National Instruments login screen.  I enter my credentials and in Chrome and Internet Explorer the screen refreshes and I see my html file.  In Firefox it hangs for awhile on the authentication screen and then reloads back to the authenticaiton screen (as if the username and password did not take).
    Attached are my files.  If you want to try and recreate this please follow this procedure:
    * Unzip the attached project to a folder
    * Open the project in LabVIEW 2012
    * Check the properties of the web service to ensure that the build paths are correct
    * Follow the procedure above for setting up NI Auth on your web service and adding the "testpermission2" permission.  Be sure to remove "Everyone" from that "testpermission2" or you will never see a login prompt.
    * Build/Deploy the web service
    * open http://localhost:8080/logout to ensure that you are not currently authenticated
    * open http://localhost:8080/add/add/1/2 and login, observe behavior
    * open http://localhost:8080/add/web/index.html you should still be logged in so you will see the "Hello World!" just fine
    * open http://localhost:8080/logout to log back out
    * open http://localhost:8080/add/web/index.html and see if you are able to login.
    I've tried disabelling my plugins in Firefox and still have this problem.  I'm really scratching my head on how to overcome this other than throwing away NI Auth and use something else.  My web service is going to run off of a static front end driven by javascript and html.  So the access point will be the html file.  I need to have some username and password scheme worked out.  I also need to be able to see what user is currently logged in with my Web Service VIs (does anyone know if that is possible with NI Auth)? 
    The other BIG issue I have with NI Auth is that it requires Silverlight.  So much for mobile support, eh?  Anyone know of a good plug-and-play alternative so I don't have to reinvent the wheel?  I guess I could impliment some kind of token system on my web service side.
    In the meantime, getting NI Auth to properly work with Firefox would help.
    Thanks for your input,
    -Nic
    Attachments:
    Example Web Service.zip ‏15 KB

    Disclaimer: I in no way mean to bash NI and I have used NI Auth myself in the past
    If you are going to go to the trouble of abstracting NI Auth, I would recommend instead investing your time in your own authentication scheme (or implementing a standard scheme in LV).
    NI Auth is great and works for low security applications where you just don't want people fooling around with your application who shouldn't be.
    However, NI Auth is really not that secure.  If I remember correctly, the username is transmitted in plain text and I don't think the encryption algorithm is that sophisticated.  It is nice that it's already integrated into LV, but there really are very few features at this time.
    If you want something to be really secure, you need to take measures beyond what NI Auth provides and before you go to the work of building abstraction on top of a basic and somewhat shaky protocol, I'd seriously consider implementing a more stable base.
    <insert 2 cents complete>
    Chris
    Certified LabVIEW Architect
    Certified TestStand Architect

  • File access to /res folder before decompression

    Hi, anyone please assist on how i would access a compressed text file in the /res folder before I can decompress it. I also need to know if its possible to create a file since the decompression algorithm creates a new decompressed file. The following code runs on a computer but I need to use it in the J2ME platform by calling it from the midlet class. Any assistance will be highly appreciated:
    import java.io.*;
    import java.util.*;
    public class Decompress{
    final static int MAX_CODES = 4096;
    final static int BYTE_SIZE = 8;
    final static int EXCESS = 4;
    final static int ALPHA= 256;
    final static int MASK = 15;
    static int [] s;
    static int size;
    static Element [] h;
    static int leftOver;
    static boolean bitsLeftOver;
    static BufferedInputStream in;
    static BufferedOutputStream out;
    private static void setFiles(String[] args) throws IOException{
    String inputFile, outputFile;
    if(args.length >= 1){
    inputFile = args[0];
    if(!inputFile.endsWith(".lzw")){
    System.out.println("The filename must end with \"lzw\" extension");
    System.exit(1);
    in = new BufferedInputStream(new FileInputStream(inputFile));
    outputFile = inputFile.substring(0, inputFile.length()-4);
    out = new BufferedOutputStream(new FileOutputStream(outputFile));
    else{
    System.out.print("usage:java Decompress <filename>");
    System.exit(1);
    private static void output(int code)throws IOException{
    size = -1;
    while(code>=ALPHA){
    s[++size]=h.suffix;
                code = h.prefix;
    s[++size]=code;
    for(int i=size; i>=0; i--)
    out.write(s);
    private static int getCode() throws IOException{
    int c = in.read();
    if(c == -1)return -1;
    int code;
    if(bitsLeftOver)
    code = (leftOver<<BYTE_SIZE)+c;
    else{
    int d = in.read();
    code = (c<<EXCESS)+(d>>EXCESS);
    leftOver = d&MASK;
    bitsLeftOver = !bitsLeftOver;
    return code;
    private static void decompress() throws IOException{
    int codeUsed = ALPHA;
    s = new int[MAX_CODES];
    h = new Element[MAX_CODES];
    int pcode = getCode(), ccode;
    if(pcode>=0){
    s[0] = pcode;
    out.write(s[0]);
    size = 0;
    do{
    ccode = getCode();
    if(ccode<0)break;
    if(ccode<codeUsed){
    output(ccode);
    if(codeUsed<MAX_CODES)
    h[codeUsed++] = new Element(pcode, s[size]);
    else{
    h[codeUsed++] = new Element(pcode, s[size]);
    output(ccode);
    pcode = ccode;
    }while(true);
    out.close();
    in.close();
    public static void main(String [] args) throws IOException{
    setFiles(args);
    decompress();

    if(messageNotWellFormatted("File access to /res folder before decompression"){
      retry();
    }else{
      answerTo(post.getProfile());
    }retry with the formatting tips !!!!!

  • 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 files within a ear file     - help me if you can I am feeling down

    I am using oc4j.
    I have some static files (templates and configuration files for the applications) in an ear file.
    These files are addressed via web.xml init param and I use relative path.
    This works in my "working directory".
    But when I deploy the ear file the servlet cannot access the file (io exception file test/templates/temp.txt not found).
    Has anybody an idea how I must address the files in the web.xml?
    How can I address the files from /test level?
    Or is somthing wrong with the structur of the directory?
    my "working dirctory"
    appname/
    META-INF/application.xml
    test/
    web-inf/web.xml
    /classes
    /lib
    templates/temp.txt
    init-param
    <param-value>appname/test/templates/temp.txt</param-value>
    init-param
    <param-value>/test/templates/temp.txt</param-value>
    thanks in advance
    peter

    If these files are only accessed from the web module, then put these files in a subdirectory of the "WEB-INF" directory of the war file.

  • Ergent problem with the jsp file access in tomcat. HELP...

    I use tomcat as my server, I have one JSP file located in :
    webapps\abc\war\WEB-INF\jsp\index.jsp
    You see my project name is abc, I want to access the index.jsp file, I define another jsp file in the path: webapps\abc callled outside.jsp. I want to use outside.jsp to invoke the index.jsp.
    Inside outside.jsp it is :
    <html>
    <head>
    <title>index</title>
    </head>
    <body>
    <%@ include file="war/WEB-INF/jsp/index.jsp" %/>
    </body>
    </html>
    When I open the browser, and access, http://localhost:8080/abc/outside.jsp , the content of index.jsp was shown as expect. But, all the link pages of the index.jsp can not shown (PS: the link pages is located in the same path as index.jsp, they are all jsp files). I guess the problem may be that the <%@ include file="war/WEB-INF/jsp/index.jsp" %/> inside outside.jsp include the index.jsp as a static file. Is there any method to make all the link pages of index.jsp can be shown when call from outside.jsp???HELP
    Message was edited by:
    Mellon
    Message was edited by:
    Mellon

    I don't know why your links can't be shown, but I can tell you that your suspect:
    I guess the problem may be that the <%@ include file="war/WEB-INF/jsp/index.jsp" %/> inside outside.jsp include the index.jsp as a static file.is wrong, because included jsp is dynamic, not static.

  • ITunes U video URL must point to a static file?

    Hi,
    I'm the administrator of Cinémathèque française's iTunes U account.
    Until now, we hosted our videos on a server where they could be accessed directly as a static file (i.e. the .mp4 file). We recently decided to host our videos on Vimeo Pro. Vimeo offers the possibility to download the files, but the URLs don't point to the static file but to a script (e g: vimeo.com/95951401/download?t=1400671865&v=255635975&s=687ebc6dbe9614509bb857c2b 588d64f) that redirects to the video file with an authorization token.
    The item's enclosure element in the RSS feed is thus: <enclosure type="video/mp4" url="http://vimeo.com/95951401/download?t=1400671865&v=255635975&s=687ebc6dbe9614509b b857c2b588d64f" length="713717774"/>
    This doesn't seem to be valid with iTunes U. I get this error message when I try to refresh the feed for my collection:
    MXPodcastPublishSubmit.IndigoFeedError [...] iTunes U could not update the content because iTunes U could not connect to the server hosting the specified feed or resources (http://vimeo.com/95951401/download?t=1400671865&v=255635975&s=687ebc6dbe9614509b b857c2b588d64f). Until the issue is resolved ... etc.
    Has anybody run into this problem? Do you confirm that iTunes U won't accept an URL that's not a directly accessible video file? Any idea how this issue can be solved?
    Thanks,
    Nicolas

    It occurred to me that you are creating a "Collection" not a "Course". Have you tried creating a small course with Course Manager? It has no restrictions on links, and the final course can still be made public.

  • Has something changed with Static Files?

    Here is a static file I uploaded last year:
    http://apex.oracle.com/pls/otn/wwv_flow_file_mgr.get_file?p_security_group_id=563610923303911988&p_fname=AskExpert.zip&p_inline=NO
    It can be downloaded by anyone.
    Here's one I uploaded this week:
    http://apex.oracle.com/pls/otn/wwv_flow_file_mgr.get_file?p_security_group_id=563610923303911988&p_fname=f107_TL.sql&p_inline=NO
    It gives an "Access Denied" message unless downloaded from a link in an application,
    or if the browser has been logged into the Application Builder.
    The links above are from the floppy disk icons on the Static Files page. (4000:40)
    I don't think I did anything different when I uploaded the files.
    Some new security must be applied when the files are uploaded now.
    Is this the correct new behavior?
    It's probably not normal to use Static Files outside of Apex, but I have used them in the past to share files on this forum.
    Thanks,
    Doug

    I downloaded the file, renamed it, and uploaded it again.
    It is publicly downloadable:
    http://apex.oracle.com/pls/otn/wwv_flow_file_mgr.get_file?p_security_group_id=563610923303911988&p_fname=f107_TL2.sql&p_inline=NO
    while the original still is not:
    http://apex.oracle.com/pls/otn/wwv_flow_file_mgr.get_file?p_security_group_id=563610923303911988&p_fname=f107_TL.sql&p_inline=NO
    I guess that shows that Static Files are still working as always,
    but perhaps something funny happened to the first one.
    Good enough.
    Thanks for looking into it.
    Doug
    To finish beating this dead horse, I guess I could install an application from the renamed file and see what happens to the static file.
    But I probably will not.

  • Very high latency in fetching static files

    Problem : Really high latency in fetching static files upon first request.
    Environment : Weblogic V8.1 App Server and Web Server running using jdk1.4.2_13
    Mem Setting: -Xmx2048M -XX:MaxPermSize=1024M
    Situaton: Restart the weblogic server, fetch a static file using " wget hostname:port/script.js". Comes back in around 100 ms for us. Then from browser we request "http://hostname:portname/Logon.do". Then again we do " wget hostname:port/script.js" and now it comes back in 400 ms. The above times are in our TEST environment. In PROD it is really worse 1300ms for one file !!!
    Tests:
    Wrote a servlet to handle all static file (CSS,js,gif,jpeg etc) and all requests would go through this servlet. Did not solve the problem, latency is still high.
    Wrote a test servlet to load about 1000 classes explicitly (Class.forName) and then fetched the static file with out accessing Logon.do from browser. Latency was high after loading classes. This lead to conclusion that it is number of classes we are loading which is causing the problem.
    Ran application under JProfiler, Took a heap dump right after starting server. About 1300 classes loaded. Took a heap dump after fetching Logon.do. About 2100 classes loaded.
    Question :
    1) Isn't 1300 too high for just the server to start? (there are some classes loaded because of our references in ejb's)
    2) We use prototype factory to instantiate classes. All the interface and implementation definitions are specified in config file and it seems to load all the classes. May be we can change this. But what confuses me is that the response time was okay when we had 1300 classes loaded how come it became so bad when there were 2100 classes ?
    If any body is using these same set of technologies, what is the average number of classes loaded on initial start up?
    I am running out of options to test?

    There's no way from what you posted that you could draw a conclusion that you are infected.
    I totally missed that tracert, but from a ping response time, it looks healthy.
    The packet loss, could easily cause your problem.
    Does it consistently loose packets there ? Cause I've pinged it from here and got no loss.
    Also remember that in this case, ping is also the time it takes the blizzard servers to response to your network message, so it could be local to blizzard, and ping might not detect that.
    Have you tried a netstat -p tcp -b command too see whats active on your PC ? That could point you towards something local.

  • How to call static files?

    I have uploaded two documents, one MSWord and the other excel, to Shared Components / Static Files. Can someone tell me how to call these from a linked list?
    Thanks

    could any reply to this question, how to access the uploaded statis files.
    I would also like to know can we access documents which are available on NT shares without uploading the document.

  • How are Static File mime types determined?

    How does APEX determine the mime type for imported static files?
    We have a number of javascript files in our application, some of which are listed on the Static Files page as "text/html" and some are "text/plain". But some are imported as "application/octet-stream" which prevents them from being edited within APEX.
    All of these files contain plain text javascript functions.
    File sizes range from 539 bytes to 21251 bytes
    We tried changing the extensions from ".js" to ".jscript" and reimported them. They were all given a mime type of "text/plain". But one file was misnamed with the extension ".jsript", so we deleted it, changed the extension to ".jscript" and re-imported it. It was imported as "application/octet-stream" even though it was exactly the same file just renamed!
    What's going on?

    I am trying to use a rather older programming language called Mozart, an extension of OZ. I installed it as a binary, but instead of storing its component binaries in a place like /usr/local/oz/bin/. they are all enclosed inside the /Applications/Mozart.app/Contents/Resources/bin/. which cannot be opened nor can a soft link be made to it located outside the Mozart.app wrapper.
    The only alternative is to try to edit the mimeTypes.rdf files, and give it the full path name to the inside of Mozart.app were the program used for web applications is stored. It is stored in ~/Library/Application Support/Mozart/, which can only be accessed in more recent Mac OS X by going to finder and holding the Option key while opening the Go menu; this will make the ~/Library visible and accessible.

  • 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

  • APEX 3.1 - Cache of Workspace Images or Static Files

    Hi,
    I attended the ODTUG Conference and they mentioned that in 3.1 Images and Static files (uploaded as shared components) are now cached. Where in the documentation does it state this? Can you configure the cache settings?
    Thank you,
    Martin

    Hi Joel,
    >> See....if you came to one of these conferences like OOW or ODTUG, I could …
    Yeah, rubbed it in, why don’t you :)
    >> It has nothing to do with the upload procedure …
    That was my mistake. I meant the downloading/delivery procedure.
    >> I'm not sure I understand what you mean by "free files"
    By “free” files, I meant data files that were uploaded to the database, like scanned documents etc., and not the classic static files like JavaScript, CSS, or the firm logo image.
    Now, with 3.1 native support of BLOB, and the rumors that your team is working on a revised version of the document library package, things might be simpler for issues like (simple) content management.
    >> Please let me know if this does not make sense.
    Tyler post came right on time, to fulfill your pseudocode explanation. After reading Tyler post, I better understand what you meant, and how I can achieve it. At first, I thought that all the HTTP header stuff id done for you, by some built-in or Oracle supplied package, but now I understand it’s the developer responsibly.
    One more thing about Tyler post, which was published prior to version 3.1. He mentioned the need to add some specific entries to the DAD, in order to utilize this technique:
    “If you’re using Oracle HTTP Server (Apache + mod_plsql), add the following lines to your Database Access Descriptor (DAD), then bounce OHS to apply your changes:
    PlsqlCGIEnvironmentList HTTP_IF_NONE_MATCH
    PlsqlCGIEnvironmentList IF_MODIFIED_SINCE “
    Is this still the case with 3.1? I don’t remember reading about these specific entries in the installation documentation. My current DAD don’t includes these entries, and still it seems like the caching of static files is working (I tested against apex.oracle.com).
    Thanks and regards,
    Arie.

Maybe you are looking for

  • My outgoing messages are not being saved in my sent folder

    Half of my message that I try to send are not being saved in my sent folder. This is a huge problem causing lost documentation and copies of information and conversations I have had. The error message I get says that thunderbird was unable to save to

  • Motion Inspector Not showing

    I have been using motion and suddenly today when I opened it up my whole layout changed for no reason, I tried loading my saved layout but my library and inspector are missing. I have tried going through all the options within Preferences and windows

  • Slow finder indexing, and other Mavericks issue

    Since downloading Mavericks i have two issues that have started to become annoying.. When i open a finder window, or when trying to save something, the indexing takes ages. Was always instant in mountain lion.. Also now if i right click an image for

  • CRS-5005: IP Address: 1*.9*.1*.3 is already in use in the network

    Hi, I'm in a bit of a mess here. I have a two node RAC environment that as of yesterday was working fine. We bounced the node 1 server and ever since the cluster VIP is not starting on node 1. When I run ./srvctl start vip -i db01-vip I get the follo

  • [ask Maclean] sqlnet.log错误日志,能否根据错误日志来确定是network timeout或者是oracle timeout?

    大部分中间件服务器瞬间连不上大部分核心数据库,以下是其中一台db的报错日志: Fatal NI connect error 12170. VERSION INFORMATION: TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production Oracl