Content.load("directory path");

Hi..I have a flash file using a textarea component that
brings in XML data. I'm running into an issue that involves my XML
and CSS file residing on a different server. The ".load" command
seems to only read a directory path. I think I need a command that
will read a URL based ("http") path. Any ideas? Below is my code
for reference.
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
//load css
gpsdsStyle = new TextField.StyleSheet();
gpsdsStyle.load("GPSDSNET/XML/gpsdsUpdate.css"); //need to
insert http path here
myText.styleSheet = gpsdsStyle;
//load in XML
gpsdsContent = new XML();
gpsdsContent.ignoreWhite = true;
gpsdsContent.load("GPSDSNET/XML/gpsdsUpdate.xml"); //need to
insert http path here
gpsdsContent.onLoad = function(success)
if(success)
myText.text = gpsdsContent;

quote:
You can't load it just like that ?
gpsdsStyle.load("
http://yourdomain.com/gpsdsUpdate.css");
I initially thought I could just load it like that. After a
lot of troubleshooting, someone told me that it will only read
directory paths, and not URL.

Similar Messages

  • Why is Get-Content inserting extra subdirectories in directory path

    Can someone please look at the following 6 lines of code and explain the output I'm receiving?  I've been looking at the code segment for a week trying to figure out what could possibly be wrong and I can't.  At this point I'm convinced it's a
    weird powershell bug - but I'd be happy if someone here could prove me wrong, explain what I'm seeing and tell me how to correct it.  "logit" is irrelevant to the issue - it's just a simple function which calls tee-object to print the line to
    the screen and write it to a file.  I added the here string code just to inspect what the line looks like after substitution.  The value of $servertype when this code snippet runs is "Core" (as you can see in the output).
    > echo "Substituting data into C:Temp\Setup-$servertype\updates\Media\travel\con.html" | logit
    > $here = @"
    > inputfile =  get-content "C:Temp\Setup-$servertype\updates\Media\travel\con.html"
    > "@
    > $inputfile = get-content "C:Temp\Setup-$servertype\updates\Media\travel\con.html"
    > echo "The here string is: $here" | logit
    Here is the output from the above code...
    2015-01-28T13:54:05 - jim -  - Substituting data into C:Temp\Setup-CORE\updates\Media\travel\con.html
    get-content : Cannot find path 'C:\Temp\Setup-Core\Temp\Setup-CORE\updates\Medi
    a\travel\con.html' because it does not exist.
    2015-01-28T13:54:05 - jim -  - The here string is: inputfile =  get-content "C:Temp\Setup-CORE\updates\Media\travel\con.html"
    I deleted the extra error info from the above output to illustrate the problem more clearly (I'll paste it below).  The problem is that the path that cannot be found has the first 2 directory levels duplicated (C:\Temp\Setup-Core\Temp\Setup-CORE\...)
    instead of (C:\Temp\Setup-CORE\...) - note the difference in the case of the word "Core". 
    How and why could this be happening - and what do I need to do to make this work properly?
    Thanks in advance to anybody who takes the time to reply.  Here are the missing lines from the output above (I'm pretty sure it's not relevant):
    At C:\temp\setup-CORE\scripts\travel.ps1:196 char:14
    + $inputfile = get-content
    "C:Temp\Setup-$servertype\updates\Media\travel\co ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : ObjectNotFound: (C:\Temp\Setup-C...el\con.ht
       ml:String) [Get-Content], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCo
       ntentCommand

    @jrv - Please learn to be more polite and less like a pompous ass.
    I've been staring at the problem for a week before reaching out for help.  Yes it's a stupid typo that I should have seen during one of the dozens of times I reviewed the code - but I didn't.  I'll bet you've encountered stupid mistakes before
    too.  Posting a rude, arrogant comment on this thread after someone had already answered my question is something only a jerk would do.
    Please learn to read the messages.
    I said please.  How polite do you want it.  You need to learn to use the information that is right in front of you.  It willsave you all of those wasted weeks caused by refusing to take well intended advice.
    ¯\_(ツ)_/¯

  • "Failed to load main class manifest attribute from " directory path

    i get this error when trying to run a jar file i made with eclipse. does anyone know how to fix it? thanks derek
    "Failed to load main class manifest attribute from "<directory path>

    A JAR file is simply a collection of class files, in order to make it an "executable" JAR file you must specify which class file is the "main" class file. In other words, which class should the runtime start executing first. You do this using what is called a manifest file, this is meta information included into the JAR file that the runtime extracts and uses. One attribute is the Main-Class key, which specifies the application's entry point.
    The Java tutorial goes into further detail on how to do this
    http://java.sun.com/docs/books/tutorial/deployment/jar/appman.html
    You may also do this using Eclipse by going File -> Export -> Java -> JAR and follow the wizard.
    Using Netbeans this almost comes for free.

  • How to get folder(directory path only not file path) from local file system

    Hi Firends,
    How to get folder(directory path only not file path) from local file system , whenevr i will click on browse button.
    Please give reply for this one , if anybody knows.
    Thanks,
    Anderson.

    Hi Anderson,
    if you're using flash.filesystem.FileReference - then it is run in black box - except of filename, size and creation data (and few other properties available after some operation succeeded). This is part of security features in Flash runtime (described in header section):
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference .html
    This for example implies that user can download a content to local machine - but that content cannot be loaded back into Flash runtime. For this you would need either Air runtime flash.filesystem.File:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
    (so you would created Air runtime based application: desktop or mobile but not web, even as standalone project) or you would need one of 3rd party tools that add file access/file information features to standard Flash runtime applications converted to standalone native applications.
    hth,
    kind regards,
    Peter

  • Creating Target Directory Paths

    My questions are mixed in below, marked with "Q:"
    Task 7A-1-6 in the PTools 8.48 Installation Guide talks about directory path structures that are required by the Oracle DBMS install wizard, but need to be manually created by me.
    I installed database 10g. My SID is "HCM". There is an initHCM.ora file in my database folder. The contents were:
    SPFILE='C:\oracle\product\10.2.0\db_1/dbs/spfileHCM.ora'
    and I added the following, per install guide instructions:
    DB_NAME = HCM
    DB_FILES = 1021
    CONTROL_FILES = (/filesystem1/cntrl1HCM,/filesystem2/cntrl2HCM)
    OPEN_CURSORS = 255
    db_block_size = 8192
    remote_login_passwordfile=NONE
    Q: I substituted HCM for &lt;SID&gt; in the CONTROL_FILES variable, but are things like filesystem1 and filesystem2 meant to be literals, or is it intended that I substitute something for these? Also, there are some forward slashes in the SPFILE variable - is that ok for Windows?
    The guide mentions these CREATEDB.SQL references...
    startup nomount pfile=%ORACLE_HOME%\database\init&lt;SID&gt;.ora
    DATAFILE '&lt;drive&gt;:\oradata\&lt;SID&gt;\system01.dbf' SIZE 400M
    LOGFILE '&lt;drive&gt;:\oradata\&lt;SID&gt;\log01.dbf' SIZE 70M,
    '&lt;drive&gt;:\oradata\&lt;SID&gt;\log02.dbf' SIZE 70M;
    *...So I assume that I need to create c:\oradata\HCM*
    The guide then says:
    The init&lt;SID&gt;.ora parameter file that is referenced in the CREATEDB.SQL script makes the following
    directory path structure references:
    Note. Portions of the init&lt;SID&gt;.ora parameter file have been omitted for clarity. These paths are hardcoded
    by the user creating the init&lt;SID&gt;.ora parameter file. The Data Configuration Wizard will not make any
    substitutions for mount point, target directory path, or &lt;SID&gt; in the init&lt;SID&gt;.ora file.
    +
    Control file references:
    +
    control_files = ("c:\apps\db\oracle9i\oradata\ORC1\control01.ctl", "c:\apps\db&rArr;
    \oracle9i\oradata\ORC1\control02.ctl", "c:\apps\db\oracle9i\oradata\ORC1&rArr;
    \control03.ctl")
    background_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\bdump
    core_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\cdump
    user_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\udump
    Q:  Does this mean I need to create c:\apps\db\Oracle10g\admin\ORC1 plus subfolders bdump, cdump and udump?  I particularly wonder if those exact names are correct, especially since the examples are for the 9i version.
    Q:  The guide says (above) that it's the init&lt;SID&gt;.ora parameter file which makes the above control file references... but as I showed above, that file only contained the one line, before I added the parms I mentioned.  Is the install guide saying that I should add the control file references above to my initHCM.ora file?

    With regard to the CONTROL_FILES variable...
    I'm not sure how forward slashes are meant to be interpreted in the Windows world. Are you saying that I should substititute an entire valid Widows path, like this?
    CONTROL_FILES = (c:\myfilesys1\cntrl1HCM.txt,c:\myfilesys2\cntrl2HCM.txt)
    ...after having first created folders c:\myfilesys1 and c:\myfilesys2, and that the database creation script will generate files cntrl1HCM.txt (I added the extension) and cntrl2HCM.txt?
    Can you post a sample Windows init<SID>.ora file?
    Edited by: M_Borok on Oct 7, 2008 7:46 AM
    (continued)
    ...on re-reading, it seems to me that section Task 7A-1-5: Creating an INIT<SID>.ORA File shows the general format:
    CONTROL_FILES = (/filesystem1/cntrl1<SID>,/filesystem2/cntrl2<SID>)
    ...but section Task 7A-1-6: Creating Target Directory Paths shows an example of substituted code for this line:
    control_files = ("c:\apps\db\oracle9i\oradata\ORC1control01.ctl", "c:\apps\db\oracle9i\oradata\ORC1control02.ctl", "c:\apps\db\oracle9i\oradata\ORC1\control03.ctl")
    Is that true? i.e. does this mean that I can create any path and file name I want, and the database create script will read it here and use it?
    If so, does this mean that I have to substitute actual paths ANYWHERE I see a forward slash?
    Also... I'm thinking that ORC1 in the sample code is their example of the SID, and for me it might be HCM instead.
    I note that their example shows three control files instead of the two shown in the first template. Does it matter.
    Q: Are these control files files that will be written by the create script, or are they a reference to files I should have created and populated?
    Edited by: M_Borok on Oct 7, 2008 7:51 AM
    Edited by: M_Borok on Oct 7, 2008 8:02 AM

  • Set default directory/path for SaveAs Dialog using WPG_DOCLOAD

    Hi, im trying to set the default directory/path for the SaveAs Dialog called by wpg_docload.download_file.
    I'm not able to find where I can specify the default path.
    Is it something like "htp.p('Content-Disposition: attachment; path=:PX_OUTPUT_DIR" ?
    Thx for your help !
    Here's a part of my code
    owa_util.mime_header( NVL(mime,'application/octet'), FALSE );
    htp.p('Content-length: ' || length);
    htp.p('Content-Disposition: attachment; filename="'||substr(fileName,INSTR(fileName,'/')+1)|| '"');
    owa_util.http_header_close;
    wpg_docload.download_file( lobLoc );
    /*********************/

    I don't believe you're allowed to set the directory path in the Content-Disposition (or any other) header. More accurately, you can set path in the filename, but browsers don't pay any attention to that, they only look at only the terminal filename.
    <p>According to RFC 2183, browsers are supposed to ignore any path information sent with the filename. Even though it's dated 1997, I believe this RFC is still in effect.
    <p>This was done as a security precaution against malicious web apps that might try to download into a system directory or other dangerous place. Also, browsers (usually) allow users to specify their own default download directories. Further, even if you could specify the path, you'd have to do it for any and all filesystems (Linux, Mac HFS, Mac OSX, Windows, etc etc).

  • File Adapter Directory Path

    Hi,
    I have hot coded the directory path.
    I want to read the input directory path for fileadapter from a file(i will have a configuration file where i will set values for parameters).
    Regards
    Vishnu

    Thanks Ashish, it is helpful.
    Just one more question, I am not sure what value do I add from making physical to logical. Let's say if I have file polling read operation (not sync read), then if I configure physical path it will be hardcoded in jca wsdl file, if I configure logical it is hard coded in bpel.xml file.
    Unlike other preferences I am not able to update my logical directory in bpel.xml at run time in descripter tab. So if my input directory changes for some reason, I have to replace it (via ANT) and redeploy the process no matter what.
    Let me know if I understand it correctly.
    Vishnu,
    Please clarify which operation you are using, if you are using sync read or write, you can read your directory and file name from parameter file and pass it to adapter for reading that file. Adapter will give you content and also the name file/directory as header variable.
    If you are using polling operation, "after reading" the file adapter will provide file name and directory in header. But if you want pass the name of directory to adapter for reading the file, then I have asked similar question to Ashish.
    Regards,
    Chintan

  • Renamed Root Server/Bad Scan Directory path

    Hi,
    I had to rename one of my NetWare 6.0sp5 servers. This server also holds
    the ZFD3.2 database - it is a Root server with workstations attached. The
    problem I have now is that the <ServerName>_ZenInvService object contains a
    pointer to the wrong location for the 'Scan Directory Path'. It contains
    \\old_servername\volume_name\zenworks\scandir and it cannot be changed even
    though there is a browse button that lets you browse to the correct (new)
    server name and path.
    The exact error message, upon trying to browse/select the correct
    servername and path, is:
    "Unable to change the server name for the scan directory path."
    Also (of course) when I attempt to start ZFD with ZFDSTART.ncf the Sybase
    database manager loads just fine but the java apps do not. They appear to
    load but the status screen stays blank instead of showing the connection to
    the database. There are no exit codes since nothing exits.
    Any ideas on how I can fix this? (Besides a complete re-install of ZFD.)
    Thanks
    Ron Neilly

    Ron,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • SQL Loader Direct Path issue

    Hi,
    I am trying to load data using SQL Loader Direct Path. One of the tables has a REC_UPD_DT column which is of timestamp datatype. The table was created with default value of SYSTIMESTAMP on this column. However when I load the table, the REC_UPD_DT is null due to the behavior(bypasses the sqlfunctions, etc) of the Direct Path method.
    What is the way out to achieve my objective?
    I do not want to use the conventional path since that is proven to be slow for my case.
    Thanks in advance
    Pavin

    Hi,
    My apologies for not providing requested information before. Here are the scripts:
    I am testing from my windows m/c.
    Database version: 10.2.0.3
    Table creation script:
    CREATE TABLE TXN_DEFAULT
    (MAPPER_Q_ID NUMBER(1,0) NOT NULL,
    TRANSACTION_SEQUENCE NUMBER(10,0) NOT NULL,
    RECORD_COUNT NUMBER(4,0),
    STATUS VARCHAR2(1 CHAR),
    USER_ID VARCHAR2(20 CHAR),
    USER_IP_ADDRESS VARCHAR2(35 CHAR),
    REC_UPD_DT TIMESTAMP (6) DEFAULT SYSTIMESTAMP
    Loader Control file script:
    OPTIONS (DIRECT=TRUE)
    load data
    CHARACTERSET WE8ROMAN8
    into table TXN_DEFAULT
    append
    FIELDS TERMINATED BY '     '
    trailing nullcols
    MAPPER_Q_ID,
    TRANSACTION_SEQUENCE,
    RECORD_COUNT,
    STATUS,
    USER_ID,
    USER_IP_ADDRESS,
    REC_UPD_DT     
    Sample Dat file contents:
    0     251939112     3     N     chowdsr     10.222.79.20     
    1     251939113     140     N     zhuanre     146.222.52.176     
    2     251939114     41     N     sombupo     146.222.187.155     
    0     251939116     75     N     BaseAdmin     146.222.4.246     
    Log File contents:
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon Dec 7 13:22:23 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: Control.ctl
    Character Set WE8ROMAN8 specified for all input.
    Data File: Control.dat
    Bad File: Control.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Continuation: none specified
    Path used: Direct
    Table TXN_DEFAULT, loaded from every logical record.
    Insert option in effect for this table: APPEND
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    MAPPER_Q_ID FIRST * WHT CHARACTER
    TRANSACTION_SEQUENCE NEXT * WHT CHARACTER
    RECORD_COUNT NEXT * WHT CHARACTER
    STATUS NEXT * WHT CHARACTER
    USER_ID NEXT * WHT CHARACTER
    USER_IP_ADDRESS NEXT * WHT CHARACTER
    REC_UPD_DT NEXT * WHT CHARACTER
    Table TXN_DEFAULT:
    4 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Bind array size not used in direct path.
    Column array rows : 5000
    Stream buffer bytes: 256000
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 4
    Total logical records rejected: 0
    Total logical records discarded: 0
    Total stream buffers loaded by SQL*Loader main thread: 1
    Total stream buffers loaded by SQL*Loader load thread: 0
    Run began on Mon Dec 07 13:22:23 2009
    Run ended on Mon Dec 07 13:22:23 2009
    Elapsed time was: 00:00:00.75
    CPU time was: 00:00:00.08
    If I run using Conventional path, the REC_UPD_DT is populated with the a systimestamp value. However, this column values are null when I use the Direct path. Log files have no errors. What is the way out to achieve my objective?
    Thanks in advance.
    - Pavin

  • XI Content Server directory

    hi,
       I am doing a EDI scenario using Itemfields Conversion agent(Content master).It is a FILE-XI-R/3 scenario. I have done the necessary configurations in the Conversion agent. I need to deploy this in the "XI Content Server directory"
    Can anyone tell me where do i find the path of the "XI Content Server directory"...?

    Hi mithun,
    Import the ESR content by first copying the export files provided into an import directory on the host of the Enterprise Services Builder and then importing the files into the Enterprise Services Repository. In the following steps, <systemDir> denotes the path for the system directory of the host (generally, <systemDir> corresponds to \usr\sap\<SAPSID>\SYS\global).
    For more info http://help.sap.com/saphelp_nwce711/helpdata/en/48/d113f7b4073254e10000000a42189b/content.htm
    Rgds
    joel

  • How to create success factors csv directory path in sap ?

    Dear Gurus,
    I want to make a directory path for success factors csv exporting in sap. what should i do ? where can i start ? where can i make this directory path like "SFactors" , "E:\SFactors" ?
    Best Regards

    Hi Kemal,
    Is it working right now ? What should i do for RFC user ? Customer talks about rfc user and authorization to folder ? How can i associate with RFC dialog user ? Should i create rfc user ?
    Yes you can now view the contents of the folder SFactors using your ID.
    I can't comment much on the RFC users as I have no clue on your integration scenario. You may refer an example of integration using PI in the link below
    SAP HCM and SuccessFactors BizX Integration Using SAP PI
    If your scenario is as below
    Create a CSV file from SAP and Successfactors can do FTP to the SAP server and pull the file.
    Sol: You need to create a ftpuser on successfactors . Write a script in SAP server to connect to successfactor server using ftpuser. Copy the files from SAP server to Successfactor using ftp commands. No RFC user required here.
    Hope this helps.
    Regards,
    Deepak Kori

  • List contents of Directory using File Object.

    Hi. I am new to Java.
    Right now I want to list the contents of a specific directory. One approach is to use FILE array. But I just cannot get it right. Am i missing out something?

    Thanks.
    My idea was to retrieve the contents of directory and then when the form loads; the contents of directory (only directorys, not files; hence i think i can use isDirectory to check) will be loaded into a listbox (DefaultListModal i supposed)
    I ran it without any errors. The Listbox is loaded; but then the listbox reads
    Java.lang.String;@1a7508a
    What went wrong?

  • FTP does not publish correctly to directory/path of \ (i.e. no folder name)

    I have never been able to get the iWeb FTP publish to work correctly, so I will try once again.
    I use www.easycgi.com for hosing, the the directory/path for www.mydomain.com is / (i.e. there is not a folder name). I can verify this via Cyberduck and have confirmed it with their tect support (i.e. no folder name, just \).
    If you use / for the directory/pathin in iWeb, iWeb test connection button works fine (meaning it finds that folder) and publish works fine, but the pages are published to a newly created FTP folder called www.mydomian.com on the FTP server, so to access the pages the URL in a browser is www.mydomain.com/www.mydomain.com/index...the 2nd www.mydomain.com being the folder.
    If you enter a directory/path of \, iweb seems to make the folder the site name (also entered in iWeb).
    As a work around, you can publish using iWeb, then in cyberduck cut and paste everything from FTP folder www.mydomain.com to FTP folder \ and it works fine...just a hassle.
    Any ideas?
    thanks
    bob

    The extra folder is given the name which you gave your site inside iWeb. Instead of using your url for your site name, call it Site or S or whatever.
    Complete iWeb sites always have the sitefolder name in the url that appears in the browser address bar. If you want to eliminate that, you can publish to your local drive and use another ftp app to upload just the contents of the sitename folder. Or you can try forwarding www.myname.com to www.myname.com/sitename. Or you can try naming your site the same as the default folder on your server (e.g. public_html, if that is what your server uses). Or try putting just http:// in the url field.
    If you eliminate the sitename folder, any RSS Subscribe buttons normally will not function. Some users have gotten RSS to work by putting just http:// in the url field.

  • Need to create file in unix (oracle directory path)

    Is it possible to create a file in oracle directory path (in unix folder).
    I am using a dynamic procedure to create the External Tables, when the given pattern file is present the procedure will create the External table, if the file is not present then it should create an empty file so that the corresponding External table would return zero(0) records. It should not fail.
    It has to be through plsql not using unix script.
    UTL_FILE.FGETATTR(V_DIR_NAME, V_FILE_NAME, V_EXISTS, V_FILE_LENGTH, V_BLOCKSIZE);
    IF v_exists=FALSE THEN
    --------create an empty file
    v_file_name:=empty_file;
    end if;
    --Create table script which will dynamically create the external table
    v_sql := 'CREATE TABLE '||V_RX_NAME||' ( '||RTRIM(v_cols,', ')||' )' ||
    ' ORGANIZATION EXTERNAL '||
    ' ( TYPE ORACLE_LOADER '||
    ' DEFAULT DIRECTORY "'|| v_dir_name || '"'||
    ' ACCESS PARAMETERS '||
    ' ( RECORDS DELIMITED BY NEWLINE '||
    ' LOAD WHEN ( '||RTRIM(v_null_cols,'and ')||')'||
    ' BADFILE '''||rec_mkt_name.SUBJECT_AREA_NAME||'_'||rec_mkt_name.PARAM_NAME||'.BAD''' ||
    ' DISCARDFILE '''||rec_mkt_name.SUBJECT_AREA_NAME||'_'||rec_mkt_name.PARAM_NAME||'.DISCARD''' ||
    ' LOGFILE '''||rec_mkt_name.SUBJECT_AREA_NAME||'_'||rec_mkt_name.PARAM_NAME||'.LOG'''||
    ' FIELDS TERMINATED BY ''~'' OPTIONALLY ENCLOSED BY ''"'' '||
    ' MISSING FIELD VALUES ARE NULL ' ||
    ' ) LOCATION ('''||V_FILE_NAME||''') ) REJECT LIMIT UNLIMITED';
    GV_CURR_STEP := v_sql;
    dbms_output.put_line(V_FILE_NAME) ;
    EXECUTE IMMEDIATE v_sql;
    ...........

    Saubhik wrote:
    Try to use utl_file.fopen with 'W'.Or maybe even with "A", and then close it. If you use "W" it will overwrite the file if it already exists. ;)

  • Find Cache Directory Path

    Is it possible to find the webstart cache directory path using java webstart API.
    Thanks

    - Put the HTML in a jar archive
    - Reference the jar in the JNLP
    - Access it using getResource() and..
    - Display it in a JEditorPane
    (fine for simple and valid HTML)
    Alternately, if you intend to show the page in a
    browser, and want to have a sandboxed applet,
    you might..
    - ask the user where they want to save the HTML
    (via the FileSaveService)
    - save it there.
    - store the full path of the downloaded HTML using
    the PersistenceService*
    - load it, when required, using the FileOpenService.
    It might pay to explain to the end user that this
    file is used regularly and it makes sense to tick
    the 'always allow' box for 'ease of later use'.
    * Only necessary if you want to cache the HTML
    between runs, obviously.

Maybe you are looking for

  • Iweb on brand new computers?

    Has anyone purchased a new computer (since July 15, 2011 and with Lion installed) and found iweb preinstalled on it as part of the usual iLife suite that comes with a Mac?  I did a quick "spotlight" search in the Apple Store the other day.  While the

  • New Computer, How do i get my songs on the new one?

    I just got a new computer and ive downloaded iTunes onto it, but i dont know how to get my songs onto the iTunes. If i let it update my iPod it will wipe it clean, right? I dont want that. thanks

  • I can't open previous downloads after making a new download...?

    e.g I download two separate .avi files today, and now I can't open the first .avi file. Or other previous files, i.e. three other .pdf files, but I CAN open ''some'' of the prev .mp3 files. Someone, help?

  • Can i retrieve deleted trash

    I want to restore an old version of an app but i already deleted my trash.  Is there a way to recover an emptied trash can?

  • DataSet not storing any data?

    Maybe I am a bit dense, but I have been trying to make this work all day and I can't get it to, so I would kindly request some assistance. Basically what I am trying to do is to read data from a database containing a number of products and showing th