Alternative of WEB.SHOW_DOCUMENT ?????

Hi,
Please tell me what is alternative of web.show_document ????
I dont want to open browser while report running .....
Thanks

Hi Alex,
Thanks for such brief reply.I really appriciate that. I have used your code but when I tried to run report by click button a message arise "FRM-41214 Unable to run report" . I create report object named "report6" and then set its properties
Filename=c:\cust_print.rdf
Destination Type=screen
Destination Formate=pdf
Report Server=reptest
and used following code in the when button pressed trigger
DECLARE
  repid REPORT_OBJECT;
  v_rep VARCHAR2(100); 
rep_status varchar2(20);
BEGIN 
repid := find_report_object('report6');
v_rep := RUN_REPORT_OBJECT(repid); 
rep_status := report_object_status(v_rep);
  if rep_status = 'FINISHED' then   message('Report
Completed');   copy_report_object_output(v_rep,'c:\cust_print.rdf');
--  host('netscape d:/temp/local.pdf');  else
  message('Error when running report.'); 
end if;
END; When I click Button then unable to run report message arise and this report is running in report builder.
Where is the problem any idea?
I am using 9.0.4 dev suit.
Best Regards
Message was edited by:
53637

Similar Messages

  • Web.SHOW_DOCUMENT (url, target);

    if I will use
    web.show_document('javascript:window.close();','_self');
    where it is looking for javascript. I'm afraid that something I did not configure. If somebody can explain how it is working then you try call javascript in web.show_document?
    Pleas help

    I wouldn´t suggest using this coding style..
    web.show_document('javascript:window.close();','_self');
    Why ? Well its seems to me you would want to centralise your javascript in one place.
    Why not use ..
    web.show_document('html/close.html','_self');
    ..and then add the javascript to the close.html file.
    If things should change in the future( add extra javascript..) you only have to edit close.html and not all the forms where you added this call.
    Ofcourse you have to define aan extra virtual mapping
    for /html/ in the web-orion file for the developer installation and/or the forms90 config file for the application server installation.
    Seems a better alternative.
    greetings Dave

  • Web.show_document does not open browser anymore

    We upgraded our production database over the weekend from 10g to 11g. When it was still 10g, our Forms application used to open a PDF embedded in IE. After moving to 11g, it does not open IE anymore and shows no error messages. Clicking the button with the web.show_document command does nothing. Our test database is also 11g but does not have this problem. What could have gotten wrong?

    I can't explain why it seems to started failing all of a sudden. We often hear comments like this only to later discover that either someone else made changes of which you are unaware or possbily a software update occurred automatically. For example, the JRE version may have been auto-updated.
    As for recoding in an alternative fashion, it will be difficult for me to say specifically because I don't know the app nor do I know your needs. The biggest, and it isn't all that big, deal will be to identify from where the pdf being opened comes from. In other words, does it already exist on the client machine or is it downloaded to the client from the/a server? Also important to know is whether or not the file name is known or not.
    So, if you want to change the code, first figure out how you want the application to complete the task. Here are my suggestions:
    Suggestion 1.
    <blockquote>If the file (pdf in your case) originally resides on a remote server, then leave it there. The document can be opened using a direct url to the file on the remote server. For example:
    WEB.SHOW_DOCUMENT ('http://server/somepath/my.pdf','_blank');If the file lives within the Forms directories, you can even use a relative path rather than the fully qualified one above. For example, if the files live in \forms\java\foo then you can do this:
    -- The exact entry may differ slightly depending on which
    -- Forms version you are using and where you locate the files
    WEB.SHOW_DOCUMENT ('/forms/java/foo/my.pdf','_blank');This makes the application a little more flexable given that you would not need to change the app code if the server name changed. Once the file has been opened on the client side, whatever pdf reader the end-user is using will offer a "Save" option. So if they choose to save the file locally, they can do so as they desire.</blockquote>
    Suggestion 2.
    <blockquote>If, for whatever reason, the file is downloaded to the client or just happens to already exist on the client, you can use WebUtil's CLIENT_HOST (or WEBUTIL_HOST.HOST) command to open the file locally. There are several ways to do this and which method you choose will depend on a few factors. For example, are all the client machines Windows based? I will assume, for this example that the client machines are Windows based. And, because I like to write code as generically as possible, here is a way to open documents on Windows without the need to know which application normally handles it. In other words, you don't need to know that it will be Adobe Acrobat that opens pdf files or that MS Word will open doc files.
    -- In this example, the value of myPathAndFile is the path and filename.
    -- For example, myPathAndFile := 'C:\Users\<USER_NAME>\Documents\foo.pdf';
    CLIENT_HOST('rundll32 shell32,ShellExec_RunDLL '|| myPathAndFile);This is a bit of an old school way of accomplishing the task, but it is very effective and flexiable. Alternatively, you could use CLIENT_HOST to directly call the file, but this may not always work. For example:
    CLIENT_HOST('C:\Users\<USER_NAME>\Documents\foo.pdf');</blockquote>

  • Web.show_document-i dont want to open report in browser just save in folder

    Hi all,
    I m using the following code for pdf file generation using a loop. The problem is every report is open in browser and then save a pdf file in a specific folder. I want that report is not open into browser just save pdf files in a specific folder. Any body knows how i do this. I am using 10g developer 9.0.4.
    DECLARE
         v_SAM_CUST_ID     NUMBER(22);
         CURSOR C1 IS  SELECT
         SAM_CUST_ID
         FROM SAM ,DE_ADDR
         WHERE SAM.SAM_CUST_ID=DE_ADDR.DE_CUST_ID
         AND SAM.SAM_FREQUENCY IN ('DAILY','MONTHLY','Quarterly','Half yearly','Yearly');
    BEGIN
           if :TEXT_BOX1='S' then
           OPEN C1;
           LOOP
           FETCH C1 INTO v_SAM_CUST_ID;
           EXIT WHEN C1%NOTFOUND;
           --message('You have enter S'||v_SAM_CUST_ID);
           WEB.SHOW_DOCUMENT('http://plato:8889/reports/rwservlet?report=C:\CUST_PRINT1.rdf&P_1='||v_SAM_CUST_ID||'&cust_id&desformat=pdf&destype=cache&userid=wh1/wh1@dwh');
           END LOOP;
           CLOSE C1;
       END IF;
    END;
         

    This configuration file is present in the /reports/conf/ directory.
    It contains a few examples, very usefull if you want to hide some informaztion, like the connection string for instance.
    you can call it by setting the entry name in the url:
    http://machine.fr:7778/reports/rwservlet?my_entry&report=report.rdf&destype=...
    Francois

  • To access pdf files from application server using web.show_document

    Hello!
    If my pdf file is copied in Oracle_home/forms90/java directory.Then using web.show_document i can access the pdf file.But I can't copy all the pdf files in /forms90/java directory.We have lacs of pdf files which I want to keep in my own directory.But my requirement is if my pdf file is in /home2/docs directory in (Linux application server) ie in my own directory where I store all the pdf files.Then web.show_document does not open the pdf file.It says page cannot be displayed.For that I think we have to configure the directory /home2/docs directory as a webserver.From otn I got something like forms90.conf file in application server where we have to set virtual directory mapping etc.If the pdf is in local machine then in orion-web.xml file we have to mention real path and save the file and shutdown oc4j instance and restart it again.I tried it.But it is not working.Can u give me step by step instructions to solve this problem.I found a few links in discussion forum.But is doesn't work out.My pdf file is in /home2/docs directory in Linux application server.Please treat it as urgent.
    Regards
    Jayashree

    Hi Sandeepmsandy,
    There is no available code sample for this scenario. You may write your own.
    Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
    http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
    Step 2: Use some special classes to get file from serer.
    HttpWebRequest can help download small pdf files. For more information to see
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
    BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
    https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Closing the browser windows created by web.show_document and javascript

    From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
    The logic is as follows
    l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
    l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
    WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
    The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
    Any idea how I can force closure of the window opened by the window.open() ?
    Thanks

    Hi,
    did this occured afer installing service pack 2?
    A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
    <html>
    <body onload="closeit()">
    <script>
    window.close();
    </script>
    </body>
    </html>
    Monica

  • Web.Show_Document does not work with long running reports

    I am using Web.Show_Document() to call reports from Forms. Everything works fine for smaller reports. However for long running reports I do not get the output instead get the page "This page cannot be displayed.". On checking the job status on the report server I find that report is still running and completes after some time but by that time my http request has already timed out. What configuration do I have to change to make my long running reports work.
    Thanks

    So, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....

  • Web.show_document not working on 10.1.2.0.2 AS

    Hey guys. I just recently installed the stand alone AS forms and reports server 10.1.2.0.2.. the reporting functionality is not working...
    basically the application uses the reports engine to create a PDF file which is then read by the web.show_document built in. It works on the developer AS, but doesnt work for the forms and reports AS...
    the link I am reading the file from looks like this..
    http://<IP ADDRESS>:7777/forms/reports_output/116_rec_jan.PDF
    where the "IP ADDRESS" is the IP of the sever, and "/reports_output" is a virtual directory. Do I have the wrong port or something? The file "116_rec_jan.PDF" does exist on the server so I can't see the problem...
    Could it be that I dont have adobe reader on my server? Does the AS use the server's adobe reader to read the file or the client side adobe reader? Anyone know whats going on? Thanks for your thoughts.
    Mo

    The /forms part doesn't look right to me. Both /forms and /reports_output are virtual directories. I doubt that they resolve stacked on top of each other. Try taking out the /forms part.

  • Simple question: calling URL link with WEB.SHOW_DOCUMENT is not working

    Hi folks,
    this should be an easy question, but I have no idea why it's not working :-(.
    In one of my form, I would like to place an URL link behing button.
    For this purpose I'm using below code:
       WEB.SHOW_DOCUMENT('http://www.google.com','_blank');But when above code is executed, nothing happens :-(.
    Could it be because I'm using it within modal type of window?
    Thanks,
    Tomas
    I'm using Oracle Forms 10g

    have you checked with using self instead of blank to see if it will replace your current page with the one you are tyring to call?
    Have you got any other firefox plugins running such as Ad block? can you try disabaling all addons and even the internal pop-up blocker jus to see if this will work?
    if self works but blank does not how about having the main app called from a multi frame page. one frame with the app in and the other frame with some javascript that can be called to open a new window? dont know if that will work and its late so probably not thought it thorugh fully :)

  • Unable to open the reports as url using web.show_document

    Hi experts,
    I am trying the access the oracle reports from oracle forms. my forms is running at port 9001 and my report is configured at port 9002.
    While trying to open the report using web.show_document(), the web page opens with port 9001 and returns 404 error. But when i change the port number to 9002 in the url it opens the report sucessfully.
    Please find the forms and reports link below:
    http://10.180.218.158:9001/forms/frmservlet?config=kvb11g
    http://10.180.218.158:9002/reports/rwservlet/getjobid97?server=rptsvr_mohadam-in_adam2unst
    i tried changing the machine name to ip address in the forms.conf and reports_ohs.conf as suggested in the link below. but it dint work out.
    url -
    https://forums.oracle.com/thread/1105289
    http://prasadmadhasi.com/2011/11/19/changing-presentation-services-port-number-in-obiee-11g/
    my reports_install.properties is given below,
    #Reports Install Properties
    #Fri Sep 13 16:10:59 IST 2013
    WLS_USER=weblogic
    USE_REPORTS_BUILDER=true
    OHS_COMPONENT_NAME=ohs1
    REPORTS_MANAGED_WLS_PORT=9002
    SERVER_NAME=RptSvr_MOHADAM-IN_adam2unst
    REPORTS_MANAGED_WLS_HOST=10.180.218.158
    FORMS_CONFIGURED=true
    ORACLE_INSTANCE_NAME=adam2unst
    REPORTS_APP_DEPLOYMENT_DIR=C\:\\Oracle\\Middleware\\user_projects\\domains\\kvbdomain\\servers\\WLS_REPORTS\\tmp\\_WL_user\\reports_11.1.2\\uxabaw
    INPROCESS_SERVER_NAME=RptSvr_MOHADAM-IN_adam2unst
    MANAGED_SERVER_NAME=WLS_REPORTS
    OHS_PORT=8891
    DOMAIN_HOME=C\:/Oracle/Middleware/user_projects/domains/kvbdomain
    COMMON_COMPONENTS_HOME=C\:\\Oracle\\MIDDLE~1\\ORACLE~1
    ORACLE_INSTANCE=C\:\\Oracle\\Middleware\\adam2inst
    REPORTS_APP_CONFIGURATION_DIR=C\:\\Oracle\\Middleware\\user_projects\\domains\\kvbdomain\\config\\fmwconfig\\servers\\WLS_REPORTS\\applications\\reports_11.1.2\\configuration
    OHS_HOST=MOHADAM-IN.in.oracle.com
    DOMAIN_NAME=kvbdomain
    ORACLE_HOME=C\:\\Oracle\\Middleware\\Oracle_FRMHome
    USE_OID=false
    REPORTS_APP_VERSION=11.1.2
    USE_SSL_FOR_APP_LDAP=false
    INSTALL_MODE=deployment
    SSO_CONFIGURED=false
    Looking forward for your help.
    Regards,
    Syl

    Hello,
    this is the forum space
    SQL Developer (Not for general SQL/PLSQL questions)
    Please mark this thread as answered and post your question in Reports
    Regards
    Marcus

  • Issue while generating report using web.show_document with https

    Hi All,
    I am facing some issue while seeing the report using web.show_document as shown below:
    https://ucrmskr.apac.nsroot.net:10301/forms/html/001725032_gca.rtf_
    In this case the report opens directly without asking for me to save or open or cancel option
    whereas if I hit
    http://scrmskr.apac.nsroot.net:7801/forms/html/001725032_gca.rtf_
    it asks for save or open or cancel option
    so that I can save the report to my machine and open in wordpad format
    The report generated in the first case is not coming in proper format
    Below are my forms.conf mappings:
    # Name
    # forms.conf - Forms component Apache directives configuration file.
    # Purpose
    # It should include the weblogic managed server (routing) directives for
    # the servers where Forms applications are deployed and other miscellaneous
    # Forms component OHS directives.
    # Remarks
    # This file is included with the OHS configuration under
    # $OI/config/OHS/<OHS Node Name>/moduleconf sub-directory.
    # virtual mapping for the /forms/html mapping.
    RewriteEngine on
    RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
    AliasMatch ^/workaroundhtml/(..*) "/ucrmap1/weblogic/bea/ucrms/config/FormsComponent/forms/html/$1"
    RewriteRule ^/ucrms/icons/(..*) "/workaroundicons/$1" [PT]
    AliasMatch ^/workaroundicons/(..*) "/ucrmap1/weblogic/bea/ORA_PFRD/forms/java/$1"
    RewriteRule ^/forms/help/(..*) "/workaroundhelp/$1" [PT]
    AliasMatch ^/workaroundhelp/(..*) "/ucrmap1/ucrrgbg2/help/$1"
    <Location /forms>
    SetHandler weblogic-handler
    WebLogicCluster kauh0079:9001
    DynamicServerList OFF
    </Location>
    Please let me know what needs to be done additionally if we are trying to hit https because in the second case we were hitting http with similar mapping in diff environment and it was generating report successfully.
    Regards,
    Harish

    Thanks for answering,
    I changed the URL from
    http://nbotlaguduru.dms.local/export/FMSLaborChargesalcs20060829132645.pdf
    to
    http://nbotlaguduru.dms.local:8889/export/FMSLaborChargesalcs20060829132645.pdf
    and the same problem occured
    the file is located on my local C drive in:
    C:\lcs\export
    seems as though I am missing something else as well
    any ideas?

  • WEB.SHOW_DOCUMENT sometimes doesn't display the generated PDF file

    Hi all,
    I'm using the following code to generated my report from Forms:<br><br>
    V_REPORT_ID := FIND_REPORT_OBJECT(V_REPORT_NAME);
    V_REPORT_SERVER_JOB:= RUN_REPORT_OBJECT(V_REPORT_ID,P_LIST);
        V_JOB_ID := substr(V_REPORT_SERVER_JOB,length(:GLOBAL.REPORTS_SERVER)+2,length(V_REPORT_SERVER_JOB));
        V_REPORT_STATUS := REPORT_OBJECT_STATUS(V_REPORT_SERVER_JOB);
    LOOP
       IF V_REPORT_STATUS = 'FINISHED' THEN          
          V_TMP_PDF := :GLOBAL.APACHE_HTML_FOLDER ||'rpt'|| V_JOB_ID  ||'.pdf' ;
         COPY_REPORT_OBJECT_OUTPUT(V_REPORT_SERVER_JOB, V_TMP_PDF );
        WEB.SHOW_DOCUMENT(:GLOBAL.AS_HOME_URL ||  'rpt'|| V_JOB_ID  ||'.pdf' ,'_BLANK');     
        END IF;
    END LOOP; <br><br>
    Everything works fine except the WEB.SHOW_DOCUMENT part. In some clients, this command does what it required from it and opens a new browser window with the PDF report displayed on it. In some other clients, this command does nothing: now window dispalyed. When I refer to the Application Server, I see the PDF report successfully generated there. When I put the URL of the generated report manually in the browser address, I can see the report.
    <br><br>
    <b>Why the WEB.SHOW_DOCUMENT doesn't display the generated PDF report in some clients?</b>

    I agree with the previous 2 posters.
    Also firefox and ie handle it differently. Make sure you test on what your clients use.
    Sometimes acrotray.exe is completely retarded and doesn't work.

  • WEB.SHOW_DOCUMENT

    Hello
    I used this code on form, button mouse click trigger.
    WEB.SHOW_DOCUMENT('http://<IAS_IP>:7778/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?','_blank');
    When I clicked it open another window but it lost the port number 7778 on the URL address then it gives the error page cannot display.
    http://<IAS_IP>/reports/rwservlet/getjobid38?
    If I add the port # manuallly it will show the report.
    But the insert/import JPG picture not appear it gives red x on the left corner.
    How can i solved this problem to retain the port# when calling the report? Anyone can help me please.
    IAS10gR2. OS windows server 2003R2.
    Furthermore where i can set the path of the report so that no need to specify the drives/folder which reports resides? I set the path for forms but for report i dont know where.
    I edited the registry but the report path is not accessible.Is there any config like the forms(Forms Edit Environment File: default.env) for report?
    Thank you,
    charles

    Hello Michael
    Thank for your reply.
    Im accessing the IAS on the internet public IP.I dont have now the registered domain name. im only using the IP that the internet provider company provides.
    This my complete work code now..
    declare
    v_rep VARCHAR2(100);
    v_report_server VARCHAR2 (30) := 'rep_appserv_oracleas2';
    v_report_name VARCHAR2(100) := 'c:\ceor\ceor001r'; <<<<<---- HOW TO REMOVE THE DRIVES/FOLDER. WHERE I CAN SET THE REPORT PATH? I MODIFIED THE REGISTRY.
    v_format VARCHAR2(12) := 'PDF'; PDF or SPREADSHEET
    v_format VARCHAR2(12) := 'htmlcss';
    repid REPORT_OBJECT; --- Added
    rep_status VARCHAR2(100); ---added
    v_ip varchar2(100) := 'IAS_IP';
    begin
    repid := find_report_object('report5');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_report_server); -- remove ' '
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,v_report_name);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT, v_format);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE); 'p_my_second_parameter='||:block.my_second_parameter);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://'||v_ip||'/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?','_blank');
    ELSE
    message('Error when running report - '||rep_status);
    END IF;
    END;
    If im not wrong your the one who corrected my code before.I need to check on older post.
    its formseleven.
    Re: security on url when calling reports on report10g
    Thank you.
    Charles.

  • WEB.SHOW_DOCUMENT don´t start Firefox 3.5

    Hi @all,
    I want to call a report through Forms per web.show_document but Firefox don´t start. The URL is correct (I´ve tested it). I tried also to disable the Popup-Blocker but this didn´t solve the problem, too.
    I call the fmx with a JNLP File.
    There is no other browser installed on my system.
    Are there any other settings in the browser (or maybe in the OS (WinXPPro SP3)) which could be responsible for this problem.
    Thanks for your suggestions.
    Thomas

    Hi,
    no, I run my forms in a Java Virtual Machine ( I start it with a JNLP-File) not directly in a browser. Adobe 9 is installed. In "showmyjobs" there are no report jobs listed, because the browser don´t start and try to open the report. When I copy manually the URL (which should call the report) from web.show_document into the browser the report starts. There is no problem in calling the report.
    The problem is that web.show_document don´t start the browser or if the browser is already open a new tab to call the URL which I have written in web.show_document.
    e.g.
    web.show_document('http://www.google.de'. '_blank') should call google in a new browser tab or, if the browser is not opened already, in a new browser. But in my case the browser don´t start or don´t start a new tab page. This problem occurs in IE and in Firefox.
    I use JDK 6 Update 16 and Forms works fine with that version.
    I´ll try it tomorrow with another Java Version but I don´t think that this solve the problem.
    Thomas

  • Web.show_document() with .csv-Files

    Hallo,
    when I try to show a .csv-file using web.show_document in MS-Excel I'm facing the following problem:
    Depending on the windows-settings (?) before showing the Excel-sheet the browser opens an alert 'open/save file'.
    When this alert is activated the web.show-document() is not successfull, that means: it seems that the browser tries to open the new window but it immediatly 'crashes' (I'm using '_blank' as parameter).
    When this alert is not activated everything works perfect.
    My guess is that it has something to do with whith the javascript-problem under XP-SP2. (i also can't get javascript working together with web.show_document).
    Enviroment is: Forms 10g, Windows XP SP2, MS-IE (Mozilla works fine), 10g iDS and iAS
    any ideas?
    tia
    Frank

    Hello,
    already done, doesn't help.
    The odd thing is: when I type the url web.show_document should show directely into the IE (with virtual pathname) the alert shows up, I can choose 'open' and it works (thats the way I get rid of the alert). It seems to me that showing the alert somehow causes the problem in combination with web.show_document.
    I have a similar problem with javascipt. When I type it directly into the browser everything works fine, from web.show_document .. no way.
    So my guess was that maybe the alert itself uses javascript. I dont know much about java and browsers and so its really only a guess.
    The Alert I'm talking about is the following (modulo translation errors):
    do you want to open or save the file
    Name... / Type... /from....
    open/save/cancel -Buttons
    checkbox: always ask before opening a file of this type
    Frank

Maybe you are looking for