How submit opener window from a PDF generating jsp

Hi All
I have a parent JSP & onclick button, need to open a child window, which generate's PDF. Once successfully generated PDF, may be child or parent should display a message stating STATUS, if user select YES / NO, (according to user selection) database tables will be updated/inserted.
Currently I can see the PDF but message is not generated either in child or parent, I do understand the reason also. Is there any way that I can dispaly a status message once PDF is generated?
I just want is a small Idea will be appriciated....
thanks in advance
balmiki

HI Ceci
Sorry that you could not understand... again I shall explain to you
1) I have a main window... & on click of button in it, open's a popup wndow.
popup_win('ChildWindow.jsp?'+sQry,600,650)2) this popup wnidow calls java API's & generates PDF in the browser. Though it generates PDF in the browser so no javascript works.
isPrinted = bizPassbookTrxn.printPassbookTrxn(response, sAcctNo, sClientNo,sPassbookNo, sFundId, iRowCount, sFormNarrative, sUserName, isPrinted); if(isPrinted){
out.println("<SCRIPT>");
out.println(" var sQry = 'acctno="+sAcctNo + "&clientno="+ sClientNo +"&passbookno="+sPassbookNo+"&fundid="+sFundId+"&formnarrative="+sFormNarrative+"&rowcount="+iRowCount+"&userName="+sUserName+"&isPrinted="+isPrinted+"&mode="+sMode+"&opMode=print';");
out.println("opener.document.passbookTrxnForm.action='ParentWindow.jsp?'+sQry;");
out.println("opener.document.passbookTrxnForm.submit();");
out.println("</SCRIPT>");
3) Peoblem is... I want to diplay a confirmation message to the user whenever he generates the PDF.
4) I know display message is not possible in popup window ...so I tried submiting parent window as above... but no result...
how can I display message in parent window?
hope u can understand now...
regards
balmiki

Similar Messages

  • How to open links from document library in a new window?

    I have a column called "Links" in document library, i want to open those links in a new window. Please guide me on this how to achieve this.
    Thanks
    Ramanjulu Naidu N

    hi,
    See whether these links help you -
    http://preachingsharepoint.blogspot.com/2012/06/open-document-in-new-window-from.html
    http://stackoverflow.com/questions/5119919/sharepoint-links-how-to-open-in-new-tab-window
    http://www.benramey.com/2011/04/25/opening-all-sharepoint-2010-documents-in-a-new-window/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
    http://www.andrewconnell.com/Adding-OpenInNewWindow-option-to-SharePoint-Links-lists
    http://www.uccorner.com/32/sharepoint/sharepoint-open-links-in-new-window/
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • In my old OS I could press F11 and clear all the open windows from view to see only the desktop. How can I do that now in Mavricks?

    In my old OS I could press F11 and clear all the open windows from view to see only the desktop. How can I do that now in Mavricks?

    system preference > Keyborad >  click the box thast says  use all f1,f2,f2 keys as standard functiong Key and then the f11 key should casue all window fo fly to the side and you can see your desktop

  • How to open an html or pdf file:

    hi dear all,
    i have a file html or pdf for user help. how to open it from my FORM button.
    i am using Form 10g.
    Thanks in advance.
    Muhammad Nadeem
    [email protected]

    thanks dear,
    here is different paths in this file:
    # Virtual path mapping for Forms Java jar and class files (codebase)
    AliasMatch ^/forms/java/(..*) "F:\DevSuiteHome_1/forms/java/$1"
    # Virtual path for JInitiator downloadable executable and download page
    AliasMatch ^/forms/jinitiator/(..*) "F:\DevSuiteHome_1/jinit/$1"
    # Virtual path for runform.htm (used to run a form for testing purposes)
    AliasMatch ^/forms/html/(..*) "F:\DevSuiteHome_1/tools/web/html/$1"
    # Virtual path for webutil
    AliasMatch ^/forms/webutil/(..*) "F:\DevSuiteHome_1/forms/webutil/$1"
    now which path i have to edit.
    Regards:
    Muhammad Nadeem

  • HT1694 How to open attachments from email

    How to open attachments from email

    Just tap on the attachment and it should open. It must be a file format that the iPad can read or it will not work. Your iPad should be able to open any of these file types in the mail app.
    Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)

  • How to extract text from a PDF file?

    Hello Suners,
    i need to know how to extract text from a pdf file?
    does anyone know what is the character encoding in pdf file, when i use an input stream to read the file it gives encrypted characters not the original text in the file.
    is there any procedures i should do while reading a pdf file,
    File f=new File("D:/File.pdf");
                   FileReader fr=new FileReader(f);
                   BufferedReader br=new BufferedReader(fr);
                   String s=br.readLine();any help will be deeply appreciated.

    jverd wrote:
    First, you set i once, and then loop without ever changing it. So your loop body will execute either 0 times or infinitely many times, writing the same byte every time. Actually, maybe it'll execute once and then throw an ArrayIndexOutOfBoundsException. That's basic java looping, and you're going to need a firm grip on that before you try to do anything as advanced as PDF reading. the case.oops you are absolutely right that was a silly mistake to forget that,
    Second, what do the docs for getPageContent say? Do they say that it simply gives you the text on the page as if the thing were a simple text doc? I'd be surprised if that's the case.getPageContent return array of bytes so the question will be:
    how to get text from this array? i was thinking of :
        private void jButton1_actionPerformed(ActionEvent e) {
            PdfReader read;
            StringBuffer buff=new StringBuffer();
            try {
                read = new PdfReader("d:/getjobid2727.pdf");
                read.getMetaData();
                byte[] data=read.getPageContent(1);
                int i=0;
                while(i>-1){ 
                    buff.append(data);
    i++;
    String str=buff.toString();
    FileOutputStream fos = new FileOutputStream("D:/test.txt");
    Writer out = new OutputStreamWriter(fos, "UTF8");
    out.write(str);
    out.close();
    read.close();
    } catch (Exception f) {
    f.printStackTrace();
    "D:/test.txt"  hasn't been created!! when i ran the program,
    is my steps right?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • How do I convert from a pdf to a word document?

    How do I convert from a pdf to a word document?

    Hi SGU,
    There are 2 Ways to do this ...
    1. Either Use Adobe Export PDF Service .. Please Refer : https://www.acrobat.com/exportpdf/en_GB/convert-pdf-to-word.html
    2. Use Adobe Acrobat to do it ... Refer : http://www.adobe.com/products/acrobat/pdf-to-word-doc-converter.html

  • How to open mapquest from a jsp page with address loaded in struts?

    Can someone plz tell me about how to open mapquest from a jsp with address preloaded (i.e taken from jsp fields)? I am using struts.

    http://maps.google.com/maps?q=
    add the query to the end of it. Makes simple.

  • How to open notepad from sql prompt?

    Hi to all
    can anyone please let me know how to open notepad from sql prompt.
    I tried ed command but message appears " Cannot create save file "afiedt.buf"
    thanks in advance

    user13480742 wrote:
    can anyone please let me know how to open notepad from sql prompt.
    I tried ed command but message appears " Cannot create save file "afiedt.buf"Create a SQL*Plus shortcut on your desktop.
    Create a SQL folder on your desktop (in your documents folder, or whatever desktop location you have read and write access to).
    Change the +Working Directory+ of the SQL*Plus shortcut to this SQL folder you have created (via editing the properties of the shortcut).
    Launch SQL*Plus via that shortcut.
    It will now run from that SQL directory. This means that it will have read and write access to the current directory (allowing it to create the +afiedt.buf+ file for example). It also means that you can save your SQL scripts in this directory and execute these from the SQL*Plus command line, without having to specify a path.

  • How to open project from an earlier version (RH x3) using RoboHelp 6.

    Hello everyone, I need your help. I have recently upgraded
    from RH x3 to RH V6. I have just completed the installation of RH6
    after spending long time with Adobe customer support as it took
    them long time to figure out how to provide me the unlocking key to
    install RH v6.
    BTW I have only installed RoboHelp 6 by itself. I did not
    install their Source Control because we already have Visual Source
    Safe which we have been using in our company.
    Also, since I had Adobe Reader 8 installed on my PC, I did
    not install Acrobat Element 7 either. As I suppose if Acrobat 7 or
    higher is installed RH v6 was not going to install Acrobat Element
    7.
    Well, now after I have installed RH v6, my first step is to
    find out how to open project from an earlier version (RH x3) using
    RoboHelp 6.
    RH x3 is installed on my old PC and I am working on my new PC
    where I have installed RH V6.
    Sorry, for providing you too many details, the purpose is
    only to give you a clear picture.
    Please, give me your feedback if I am doing everything
    correct and how should I open the project from an earlier version.
    Thanks

    Hi Peter,
    Thank you so much for the response. Actually, after I posted
    the question on Forum we had lost internet connection for some time
    and I just went ahead and tried it by myself.
    This is what I did – since we use MS Visual Source
    Safe, my all files were in the working folder of VSS in my c drive.
    I just clicked the Open tab/More Files in RoboHelp Starter and
    located the RoboHelp HTML Project File. It opened without any
    problem. Everything looks alright.
    Is there anything specific I should be checking to make sure
    if it is working fine in this version of RH. Because I did not
    create this project, somebody else did and I have never used this
    tool before this is the first time I will be using.
    I found your site pretty helpful though and it did have some
    information about Source Safe. I still have one question related to
    Visual Source Safe that Is RoboHelp v6 linked to VSS automatically
    and check the files out from it automatically whenever a project is
    opened or we have to manually set the link between the RH6 &
    VSS.
    In RH x3 whenever I would open a project it would prompt a
    message that in order to open this project the following files need
    to be writable, would you like to make them writable, selecting
    that option would checkout all the files from the VSS to make them
    writable. However, in RH V6 I opened an existing project and it
    opened without checking out the project files from VSS. Do you have
    any idea what’s happening?
    Ps: Do you recommend any book on RH 6 for starters or any
    other recommendation?
    Your help is always appreciated

  • How to Get XML from the PDF form generated using Designer that is stored in LC

    We have a Requirement of Generating reports on what a PDF form is comprised of? It is easy for us to scan / parse the XML format of the PDF form and get all the relavent Info we need. We are able to see the XML format of the PDF form when we open up the Form in Designer.
    But we are trying to run this report in a Batch Mode for many PDF files. I need to know how to get a XML format of the PDF file that is stored in LC that was developed using Designer. Once we are able to get the XML of the PDF form it is just a scan / parse to get the relavent data.
    Can some one tell me how to get the XML format of a PDF file stored in the LC?

    If I place the PDF form on the LC server - Can you let  me know of the tools you are referring to get XML design from the PDF form?
    Is it through a Process Orchestration I need to run the PDF through to get a XML design out of it?
    I am fine in storing the PDF in the LC server? How will I get the XML design (XML) from this PDF on the server?

  • How to send emails from of pdf's generated by oracle reports

    I have several pdf documents , I want to email those pdf's . Please let me know how to send emails from oracle reports .
    Thanks,
    Previn

    I have integrated Oracle Reports with Oracle Portal and used the scheduling feature via portlets. We have reports that run every monday morning for management. For more info go to:
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    OR
    I think if you set destype=mail, desformat=PDF, and desname=[email protected] that should also do the trick.
    Just be sure that you have put your mail server's IP address in the rep_<machine_name>.conf file located in your <oracle_home>/reports/conf directory. If this is not set up, the mail feature won't work.
    Martin

  • How to read metadata from a pdf file

    hello
    i have got xmp sdk for windows.
    i want to read the metadata from a pdf file but i cannot
    find a way to do so.
    i cannot understand that which method to use to open the file whose metadata i want to read.
    if someone can tell me by an little code example then it would be great help.
    thanks

    The sample XAPDumper read metadata in a file (PDF or not) if it is valide. If you want to keep the XAPMeta object, don't delete this object in ProcessSubstring().

  • How to open report from form

    I'm tring to open report from a form
    using Run_report_object built_in on 9i
    and i get error messages
    such "you did not specify repor name "
    and "REP-0110 unable to open file
    REP-1070 error while openning or saving document "
    I get a look on the help and i found an enviroment parameter called
    "Reports25_path" that un seted on my computer (Windows XP) and I must put my report file in its location
    what can i do to open my report from a form ?
    thank yuo for help .
    I'll be gratfull if you send answer on my e-mail [email protected]

    Forms/Reports Integration 6i (6.0.8)
    http://www.oracle.com/technology/products/forms/pdf/277282.pdf
    Forms/Reports Integration 9i (9.0.2)
    http://www.oracle.com/technology/products/forms/pdf/frm9isrw9i.pdf
    Forms/Reports Integration 10g (9.0.4)
    http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf

Maybe you are looking for

  • Unable to load external swf which has runtime sharing with another swf.

    Hi, I am getting issues on loading external swf say "importer.swf" file into another swf file say "loader.swf" for second time like ReferenceError: Error #1065: Variable testSymbol is not defined. VerifyError: Error #1014: Class testClass could not b

  • Issues connecting to sql 2005 database using Oracle sql developer 1.2

    I just installed the sql developer and was trying to use the quick migrate to try a migration from a sql server to oracle.. I am getting the following error message when i click on the retrieve database after entering the database credentials Status

  • Error with the data format in the TXT file, sending as an Email attachment

    Hi all, I have an problem in the data formating in the TXT file while sending as an attachment via an email by using the FM "SO_DOCUMENT_SEND_API1". For eg: The data in the TXT file is looking like as follows: 0 0 0 0 2        L O U D S P E A K R   O

  • How to do this in a query

    Hello All I have value like these in a table Id Id_num Date 1 PR 10-Jun-2004 1 PF 10-Jun-2005 2 PF 10-Jun-2005 3 PR 10-Jun-2005 Output shoud be 1 PF 10-Jun-2005 2 PF 10-Jun-2005 3 PR 10-Jun-2005 ie. If a ID has ID_NUM values with PF and PR, then PF s

  • Weird issue. Captivate 6 not letting me select a script for an Advanced Action

    Hi, So i'm facing this really weird issue on a captivate 6 project that i built. I need to add an Advance Action on a slide Exit action. This was previously set as "Continue" and now I want to set this to "Execute Advanced Action" (an Advanced Action