Need to create a function that will act like the save as browser function

I need to create a button on a web page that will open up a save dialog box and then save the current web page as an .html file on the persons hard drive. The reason for this is because the window is a pop up that does not have the browser menu or any toolbars showing just the what we call print view. This window was used only as a print view so people can print the form out but now the powers that be want a save button as well so the people can save it to there HD. I can do this in IE using javascript but no other browser allows that so I need to create something in java. I have read about the setHeader() to download the file but I am sort of new and from what I've read it all sounds like you will be downloading a specific file and not the web page as a file. Anyone have any ideas as to how I can accomplish this? It doesn't have to be the save as dialog box just a way the person can get the current web page on their HD for viewing offline and done at the press of a button. Thanks.

You'll be wanting to output a PDF or the like instead of a web page. That's the solution to your problem.
Please next time consider using a line break or two when you post. Thank you for your consideration.

Similar Messages

  • I need to create a schedule that will be performed every day

    Hi,
    I need to create a schedule that will be performed every day. Must start at a specified time and finish their work at a certain time. Joby hooked to this schedule must do their work in a loop, until he completed the work to the procedure. Do you have any solution?

    6e4e5455-0183-4163-be68-1e68fc529042 wrote:
    Hi,
    I need to create a schedule that will be performed every day. Must start at a specified time [...]
    Easy, use DBMS_SCHEDULER to schedule the job to start at a particular time every day.
    [...] and finish their work at a certain time. [...]
    What should it do if it finishes early? What should it do if it hasn't finished its work by the given time? There may be things you can do to make it crash out at a given time - but its helpful to know what your aims are first.
    Joby hooked to this schedule must do their work in a loop, until he completed the work to the procedure. Do you have any solution?
    I don't have a clue what that last sentence means, let alone a solution.

  • Hello there, I am creating a database of all our companies press contacts. I would like to create a form that would act as the front end and feed the database which is obviously the back end. The database is in Access 2013. My question is to whether this

    Hello there, I am creating a database of all our companies press contacts. I would like to create a form that would act as the front end and feed the database which is obviously the back end. The database is in Access 2013. My question is to whether this is indeed possible?

    This forum thread appears to point towards the problem.
    Re: Unable to Switch Audio Sync Settings

  • I need an iPad flash player that will work like an adobe flash player!!,,,,,Please

    I need an iPad flash player that will work like an adobe flash player!!,,,,,Please

    rbrylawski wrote:
    Again, you clearly don't know much of what you are espousing here.  Click this link which was updated today and tell me where you can validate your claim that apple owns 65% of the mobile market.  I'm sure they wish they did, but they clearly don't.
    http://www.bgr.com/2012/04/04/android-and-ios-account-for-over-80-of-the-u-s-sma rtphone-market/
    Flash Support (all versions)
    95.57%
    http://www.statowl.com/flash.php
    OS Platform Statistics
    2012
    Win7
    Vista
    Win2003
    WinXP
    Linux
    Mac
    Mobile
    February
    48.7%
    4.5%
    0.7%
    30.0%
    5.0%
    9.1%
    1.3%
    January
    47.1%
    4.7%
    0.7%
    31.4%
    4.9%
    9.0%
    1.3%
    http://www.w3schools.com/browsers/browsers_os.asp
    Mobile Devices Statistics
    2012
    Total
    iPhone
    iPad
    iPod
    Android
    Others
    February
    1.27 %
    0.22 %
    0.45 %
    0.04 %
    0.39 %
    0.17 %
    January
    1.25 %
    0.22 %
    0.44 %
    0.04 %
    0.38 %
    0.17 %
    http://www.w3schools.com/browsers/browsers_mobile.asp
    1.3% is mobile.
    67% of that is IOS
    Around 0.75% of all internet traffic belongs to IOS.
    (I'll trust the world wide web consortium for my numbers over some "news" articles)

  • Need to create a graph that will chanrt either monthy quarterly or annual

    I need to create a graph which will display in a workbook.  I need to be able to somehow have the user pick monthly querterly or annual graphing.  How do I do this this?  do I create this selection in the query intself?

    I think the only way is to do that in the query.
    Another way shoul be to have all the info in the query and build 3 graph.
    Hope it helps.
    Regards

  • I am trying to create a Form that will act as a list.  I want to import data into the form from exce

    My table has a list of names with product information in corresponding columns.  I want to create a form that I can import this into where every row makes a new part of the form list I create.  Is this possible?
    Example of what I have in excel:
    Name
    Product 1
    Product 2
    Product 3
    Total
    a
    1
    2
    3
    6
    b
    0
    3
    4
    7
    c
    1
    3
    4
    8
    d
    1
    3
    5
    9
    Example of what I want in Form:
    Customer a    1     2     3     6
    Customer b    0     3     4     7
    etc.
    I want to put this info into a form to make it more presentable.  Can anyone help me with this?

    Look at the Import/Export form data functionalities already built-in into Acrobat.

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

  • Is there a way to create a playlist that will not play the songs when shuffle is selected?

    I created a playlist of children's songs to play in my kindergarten classroom.  I placed these songs in a specific playlist so I could easilly access them when needed.  Problem is, when I'm working out, I don't want these songs to pop up in my "shuffle" mix.  How do I designate this playlist to only contribute songs when selected?

    You can also set the "Skip when shuffling" property of the children's songs to Yes. Select the songs, Get. Info., look on the Options tab.
    tt2

  • HT5527 Is there way to have a iCloud app that will work like the mobile me gallery short cut did?

    I really miss the MobileMe gallery app  I had on my iPhone.  does anyone out know of way that iCloud has something similar?

    It's not the same, but there's shared photo stream that lets you share photos with others...
    How to create a shared photo stream, go to this link for a tutorial -
    http://howto.cnet.com/8301-11310_39-57508640-285/how-to-create-a-shared-photo-st ream-album-on-ios-6/
    In the iOS version of iPhoto there are photo journals.
    http://howto.cnet.com/8301-11310_39-57396615-285/the-ins-and-outs-of-iphoto-jour nals/

  • I need instructions on how to create a button that will email a pdf form to someone else on a websit

    I NEED ASSISTANCE CREATING A BUTTON THAT WILL EMAIL A PDF FORM FROM A WEBSITE TO WHOEVER THE VIEWER WANTS TO

    Just a bit more info. E-mail can be used, but has potential problems -- often related to the client machine that you have no control over. Use the data submissions (either FDF or XML) rather than the full PDF so you do not have to deal with Reader Rights and the related license issues. The FDF and XML data files are easily imported into the original form so that you see what the client sees. With those aspects in mind, just go ahead and try one. Be aware that you can add form fields using the form tools in the Advanced Editing tools, OR use the forms menu that will take you to Designer. You might want to try both to see the pros and cons. Be sure to keep such a test simple so you are not wasting time on your final form just for testing. I typically create a 1 page form that has all of the possible fields for such a test.

  • How to create dynamic stamp that will prompt for Cause number and exhibit number?

    I have a need to have a three line custom stamp that will look like the following but will allow a user to input the Cause number then the exhibit number, then successively number exhibits that the stamp is applied to:
    EXHIBIT
    12:74130
    001
    Exhibit will always be the same, but the cause number would need to be modifiable per batch possibly and I would like to be able to update the exhibit number to have a unique number on each page of exhibits....or just each exhibit.
    Can that be done?
    thanks!

    It sounds like you are trying to use a retail serial as an enterprise serial and would like to bypass it's restrictions by deactivating it . . . I assume that's not possible, but perhaps I don't understand your issue.
    I doubt you'll get a good answer on the forum. Try support, your sales rep, or a help link on the licensing web site (if there is one).
    Ben

  • OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF. then 2.  need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that

    OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF; then 2. I need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that??
    I had been saving as a PDF and then reducing the size of the PDF by printing it as a PDF with a degree of image compression. I write manuals with a LOT of screen captures and line art that needs to be clear. So it is a balancing act between image clarity and PDF size. The PDFs on the web need to be smaller - sure you can undertsand.
    Anyway, when I print the PDF again, I lose both my destinations and bookmarks.
    Anyone know of any way to avoid that?

    Control the images by creating a custom PDF Job Options and then selecting it in the PDF Job Options drop-down of the PDF setup dialog box (File > Save as PDF...)
    Create the custom PDF Job Options file with Distiller. If you do not have Distiller, open the Printing Preferences of the Adobe PDF printer. Start with the Smallest File Size Job Options settings and Edit.

  • I need a function that will go through and encrypt all the strings

    I want to use one way enryption and need a function that will
    go through and encrypt all the strings in my password column in sql
    server 2003.
    I also need a function that compares a test password string
    is equal to the hash value in the database. Can anyone give me some
    advice in this?

    Apparently it's not as simple as I thought. My first instinct
    was
    update yourtable set password = '#hash(password)#'
    but that will crash
    This is inefficient, but you only have to do it once.
    query1
    select id, password thepassword
    from yourtable
    cfloop query="query1"
    update yourtable
    set password = '#hash(thepassword)#'
    where id = #id#

  • I need to create a button that links to another swf file...

    i'm creating my first website, and, for each menu item, i am
    creating a new flash document... is this the correct way to create
    a multi-page website?
    plus: how to create a button that links to a jpg, thanks!
    jane

    Creating separate swf's these days as far as I know is
    considered to be a better practice than using the "scenes" that are
    in Flash. The reason is you can load various sections of your
    entire Flash entity rather than the user downloading everything at
    once.
    But, it also depends on the complexity of where your menu
    items are leading. If they are simple enough, then there may be no
    need to create new documents.
    To create a button that links to a jpeg, try this.
    Whatever graphic you're using for the button, select it and
    hit F8 to convert it to a movie clip. Once it's in your library,
    click on your new movie clip on the stage and give it an instance
    name in the properties window.
    Click the first frame in your timeline (preferably on a layer
    named "actions") and put this example in for the actionscript:
    //buttonName is the instance name you gave it
    //.onPress tells Flash when buttonName is pressed then do
    what's
    //inside the brackets of the function
    buttonName.onPress = function (){
    //getURL is the Flash function that will load your
    picture.jpg
    //_blank is the target. e.g. _blank, _self etc.
    getURL("picture.jpg", "_blank");
    }

  • How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?

    How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
    I currently run OS X 10.10.1
    Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
    Here is an example of what i want to happen.
    I will have 2 tabs: Contact | Sales
    Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
    for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
    Now how do i do this, Excel can do this so how can numbers do it?

    Hi Shegra,
    Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
    quinn
    Script starts:
    -- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
    property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
    property DataEntryTable : "Sales" --name of table with popups to be refreshed
    set copyRange to {}
    property PopValueSheet : "Sheet 1" --name of sheet with popup values table
    property PopValueTable : "Contacts" --name of table with popup values
    set PopStartRow to {}
    tell application "Numbers"
      set d to front document
      set ps to d's sheet PopValueSheet
      set pt to ps's table PopValueTable
      set s to d's sheet DataEntrySheet
      set t to s's table DataEntryTable
      set tf to t's filtered --this records filter setting on data Entry Table
      display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
      set PopStartRow to {text returned of result}
      tell pt --convert list to alphabetized popups
      set ptRows to count rows
      set copyRange to ("A2:" & name of cell ptRows of column "A")
      set selection range to range copyRange
      set selection range's format to text
      sort by column 1 direction ascending
      set selection range's format to pop up menu
      -- popupsmade
      set selection range to cell ptRows of column 1 of pt
      set v to value of cell ptRows of pt
      end tell
      activate application "Numbers"
      tell application "System Events" to keystroke "c" using command down
      tell pt
      set selection range to range copyRange
      set selection range's format to text
      end tell
      tell t
      set filtered to false
      set tRows to count rows
      set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
      set selection range to range pasteRange
      tell application "System Events" to keystroke "v" using command down
      set filtered to tf
      end tell
    end tell

Maybe you are looking for