How to Pop-up new Window and load PDF at same time

Hi
In my servlet application, when I receive request, I have to load PDF form and at same time I have to pop up new browser window with html content ( help data).
I thought of writing <script>window.open(....)</script> to outputstream before writing FDFdocument , but it fails.
I am using FDF tool kit to load PDF forms, once I set content type to "application/vnd.fdf" , I can't write any javascript to response.
Any help /ideas to do this is appreciated.
Thanks,
Prakash

Hi Prakash,
Here is the way to solve this issue:
Make use of HTML frame, one frame (maybe with 0 height and width) pop up with a new HTML browser using javascript. Set the content type and display the pdf in another frame.
Note that one page can only set content type once, so if u have set it to application/vnd.fdf, you cannot write HTML content into same response stream.
-ms

Similar Messages

  • Using iPod both in Windows and Mac at the same Time?

    I was wondering if it was possible to use my brand new ipod both in Mac as in Windows without having to format or restore it every time?
    The idea is to use "manually manage songs" on both Operating Systems.
    Thanks for your help!

    iPods come formatted Windows and will work on Macs and Windows. Unless you Restore it in a Mac, it will stay formatted Windows.
    If it doesn't work, put the iPod on Disk Mode and iTunes should recognize in both systems.
    If it is formatted Mac, it will not be useable on Windows, even in Disk Mode.

  • Can I install a new SSD and Yosemete at the same time?

    I have a 2012 macbook 13" and the latest mavericks 10.5.9, can I use disk maker x, then swap my HDD for an SSD and install Yosemite???

    If you mean can you have them both connected at the same time, then it's a yes. I have both connected and use the mouse for some functions and the trackpad for others... works a charm.

  • How to use airport express wired and wireless at the same time

    Hi,
    I currently have FiOS with Verizon, they ran a coax cable to the Verizon router. I didn't ask them to switch to CAT6 cable since I have an airport extreme base station and an airport express base station (both are the newest generation). I ran a CAT6 cable from the Verizon FiOS router to my AEBS (extreme) to make it the default wireless router. The Verizon router and extreme are in one room. Now, the Airport express is in my living. I'd like to extend the wireless network from the extreme. However, I can't seem to find a way to use both wired and wireless from the airport express at the same time. It's now either via wired, or wiresless. So is there a way to get both work?

    Can you tell us if you used Apple's instructions for a "roaming" network?
    http://support.apple.com/kb/HT4260
    Although the instructions picture a 2nd AirPort Extreme in the illustrations, the setup instructions would be exactly the same for an AirPort Express.

  • How do I stop multiple videos from loading at the same time and playing while looking at any article on google news?

    Multiple videos load at once and start playing creating sound mess and sucking up ram. This is happening on Firefox on both Windows 8 and Windows 7 machines. This started about three weeks ago. I have run Avast, malwarebytes, hitman pro, and other malware killers. A new youtube setting appeared in settings, I have unticked everything. The videos do not appear to be youtube based.

    You could enable plugins click-to-play. Also, set the plugins to Ask to Activate rather than Always Activate. I also recommend the extension "Click to Play per-element".
    https://addons.mozilla.org/en-US/firefox/addon/click-to-play-per-element/

  • HT5517 How can i play apple tv and tango air at same time, both are on apple tv listing but i cannot play them both at same time?

    CAn anyone help me, speakers are both displayed on apple tv but cannot play both, appletv with speakers and a new tango air!

    hmmmm. i suspect you've already found this document:
    AirTunes: Error -3256 when streaming to multiple AirPort Express units
    perhaps also try working through the techniques from the following document to see if they are of any help with this:
    iTunes for Windows: Music Sharing with Windows Internet Connection Firewall

  • Does anyone know how I can record the screen and myself at the same time?

    I have seen videos of people using their isigght camera to record their screen and a video of them is in the shape of a square on top of a corner of the screen.
    Does anyone know how I can do that?

    macnewcomer22 wrote:
    I have seen videos of people using their isigght camera to record their screen and a video of them is in the shape of a square on top of a corner of the screen.
    Does anyone know how I can do that?
    I'm not certain I know what you want to do, but consider these ideas:
    (1) If you have seen a video of people doing it, the people who made the video surely know how. Ask them if you can.
    (2) You may be able to do what you want with this app:
      http://b-l-a-c-k-o-p.com/CamCamX.html
    (3) The easiest way I was able to record my screen and simultaneous video of me in a window in the top corner of my display was to use two webcams. I used QuickTimeX to make a screen recording while I used my built-in iSight to show me moving in my Photo Booth window on the display.
    EZ Jim
    Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.4)  MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.4)
    LED Cinema Display  G4 PowerBook  1.67GHz (10.4.11)  iBookSE 366MHz (10.3.9)  External iSight

  • How do I sort by Keywords and Rating at the same time?

    Hi guys,
    I know this is probably basic, but I have put keywords to a recent trip to Argentina and star rated the ones I enjoyed the most. Now I want to see pictures from Argentina (keyword), in the mountains (another keyword) and that are rated with 5 stars .
    Could someone please give me a hand?
    Thank you very much!
    Camy

    file menu ==> new smart album
    Meets all criteria
    My rating is ★★★★★
    Keyword is Argentina
    keyword is mountains
    LN

  • How do I upload audio books and music at the same time

    I like listening to Audio Books as well as music but everytime I upload any music it deletes the audio books and when I upload audio books it deletes the music. How do I keep both on my iPhone without the other being deleted.
    Cheers

    Thats what I was doing wrong. Both music and books were ticked but I wasn't clicking on the books tab and ticking what I wanted to upload there.
    All I need to do now is work out why iTunes stops working when I start typing to submit details gracenote.
    Thanks

  • How to align a paragraph left and rigth at the same time ?

    Hi ,
    I am now having a problem in aligning the code( left ) and its codebar (right)  in a line and in the same window ?
    Window1
    Code          Codebar (aligned in right)
    Is there any way to do that ?
    Please help me
    Thanks ,

    hi
    r u using smartform or script...
    split the text into 2 then allign them with different paragraph pforms.
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Solar cell charging battery and load at the same time When there is Sun , When there is no sun , the battery take over and power up the Load

    Hi 
    Im currently doing a project using LabVIEW and myDAQ where i have to use the solar cell to charge the battery and turn on the load ( LED) when there is light
    and once the the solar cell is unable to detect the light , the battery will power the load instead of the solar cell
    i am having some problems with labview programing ( unable to work )
    Does anyone has something similar that i could reference to ?
    Thanks 

    Good to see that you found the LabVIEW forum, but you have not added any more information than what you posted on the Reddit LabVIEW forum.  
    The people here will also need more information about what is not working, be as specific as possible.  I will also repeat that you can replace the inputs with controls and the outputs to indicators so you have more control over the code to test it.  Then introduce the real IO when you have the code working like you want it to.
     

  • How to call new window and text element without changing print program

    Hi Friends,
       I have requirement like this . i have a standard print prog and custom form. i want add 2 to 3 extra windows in the form and i have to print some data. but how can v do this with out changing the print program. i know that to pick new fields through subroutines. but how can v call new windows and new text elements with out changing the print program.
    usually in the print program we write as follows.
    write_form
    window = 'HEADER'
    textelemtn = 'HEADER'
    can we accomplish this one also through subroutines or any other way is there.
    can any one pls suggest this.
    Thanks in advance.
    Rahul

    u  copy the standard print program and make custom program.
    write your own codes in it.
    assign this program in the place of standard print program.
    Reward points, if helpful.

  • Edit video and audio at the same time

    Is it possible when I remove some of the audio to also remove the same amount of that time from the video?

    Lilybiri,
    We did record both the audio and video at the same time in Captivate 8.
    The question is: how do we edit the audio and video at the same time?
    If I want to cut out 5 seconds of audio can I or will the software cut out that same portion of the video and if so how do we do it?
    Do we need to create a Demo or Software Simulation to be able to take advantage of this tool for cutting both together.
    Your assistance is very much appreciated.
    <http://www.eaglemetal.com/>
    Mark Wyatt Customer Support specialist
    Eagle Metal Products | 12300 Ford Road, Suite 110 | Dallas, TX 75234
    [email protected]<mailto:[email protected]>
    Toll free: 800.521.3245
    Direct Line: 972.350.9898

  • How can I put OSX 10.7 on a new Macbook Air. Maverick no longer allows "open file in a new window" and I really miss it. At the Apple Store they told me it can't be added to the new OSX 10.10 so I  want to change the OSX on the new Macbook Air and it

    I have been using a 2012 Mac pro to do HD video editing. I bought a new portable Macbook Air only to find that Maverick no longer has "open files in a new window" which I use all the time in the very large folders of video clips and royalty-free music. I asked at the Apple Store how I could get this back on the Macbook Air and they said it couldn't be done so I thought I would re-format the HD and install 10.7 on it and was notified by the Macbook Air I can't put 10.7 on that computer. Apple use to give this as an option but now they have gone more to the attitude of "Do it our way or go to ****!" In anger I went out and bought a Dell Laptop and Pinnacle Studio 17 which I have been learning to use. I have been an Apple/Mac user since 1979 and would still rather do my video editing on a Mac. Is there any way that I can force the Macbook Air to let me load in OSX 10.7 where there is still the option to  "open files in a new window" or is there a way to add this to Maverick? The experts at the Madison, WI Couldn't give me any help on this.

    Choose Preferences from the Finder menu, click on the General tab, and uncheck the box to open folders in a new tab.
    (117195)

  • Locking exceptions for Pop-windows and loading image automatically Preferences setting

    How can i lock the two exceptions button for POP-up windows and load imagae automatically option.

    You can lock the image exceptions via pref.advanced.images.disable_button.view_image
    I do not see a pref to lock the pop-up exceptions on the about:config page (filter: disable_button)
    A possibility is to hide that button via code in userChrome.css (#popupPolicyButton {display:none!important;}), but that needs to be done for each profile.
    <pre><nowiki>//
    lockPref("pref.advanced.images.disable_button.view_image", true);
    </nowiki></pre>
    See also:
    * http://kb.mozillazine.org/Locking_preferences

Maybe you are looking for