How to post the data to a new window and control the new window's property?

When we submit the form data to another page, we usually do the following:
<form action="display.jsp" method="post"> will submit the form data and open
display.jsp in the current browser
<form action="display.jsp" method="post" target="_blank"> will submit the form data
and open display.jsp in a new browser
Now, what I want is to open display.jsp in a new browser, but control the window's size,
and disable the status bar, title bar, and address bar of a new browser.
If I do this, it can only open a html page, but not post the data to display.jsp.
window.open('display.jsp', "newWin", "scrollbars=0,menubar=0,toolbar=0,location=0,status=0");
any ideas? thanks!!

<html>
<head>
</head>
<script language="JavaScript">
    function doSubmit() {
       displayWindow = window.open('', "newWin", "scrollbars=0,menubar=0,toolbar=0,location=0,status=0");
       document.submitForm.submit();
</script>
<body>
<form name="submitForm" action="display.jsp" method="post" target="newWin">
  <input type="text" name="param1"><br>
  <INPUT TYPE="button" NAME="button" Value="Click" onClick="doSubmit()">
</form>
</body>
</html>

Similar Messages

  • How to input id data in jtable column 1 and load the detail in other column

    Dear all,
    I am new to java, I am writing a POS using Java. I want to scan goods barcode into column 1 of a jtable, then the program will load the product's name and price in
    column 2 and column 3 from database. And also I want to have another row available where the barcode is scanned in previous row, i.e. I can add multiple products. And then I need to write the good's barcode to database. Please suggest any related article or code example. Thanks.

    Peter-Hon wrote:
    Dear all,
    I am new to java, I am writing a POS using Java. I want to scan goods barcode into column 1 of a jtable, then the program will load the product's name and price in
    column 2 and column 3 from database. And also I want to have another row available where the barcode is scanned in previous row, i.e. I can add multiple products. And then I need to write the good's barcode to database. Please suggest any related article or code example. Thanks.Your scanner will probably be a keyboard wedge, so any input from it will be equivalent to typing on the keyboard. You may be able to set it up to send a character, or sequence of characters that you can interpret as "move focus to the input cell, and input the remainder of the input there", if you can't do that, then you will have to just deal with the fact that people will end up scanning the bar codes into the quantity field.

  • Get back the Data mart status in ODS and activate the delta update.

    I got a problem when deleting the requests in ODS.
    actually there is Cube(1st level. it gets loaded from an ODS(2nd level). this gets loaded from 3 ODS'S( 3rd level). we were willing to delete recents requests from all the data tardets and reload from PSA. but while delting in the request in ODS(2nd level), it has displayed a window, showing as follows.
    - the request 132185 already retrived by the data target BP4CLT612.
    -Delta update in BP4CLT612 must be deactivated before deleting the request.
    - Do you want to deactivate the delta update in data target BP4CLT612.
       I have clicked on execute changes in the window. it has removed the data mart status for all the request which i have not deleted.
    in the same it happened inthe 3 ODS's(3rd level).
    I got clear that if we load further data from source system. it will load all the records from starting.
    so to avoid this can any body help me how to reset the Data mart status and activate the delta update.

    Hi Satish,
    U have to make the requests RED in cube and back them out from cube,before u can go for request deletions from the base targets(from which cube gets data).
    Then u have to reset data mart status for the requests in your 'L2 ODS' before u can delete requests from ODS.
    Here I think u tried to delete without resetting data mart status which has upset the delta sequence.
    To correct this..
    To L2 ODS,do an init without data transfer from below 3 ODS's after removing init request from scheduler menu in init infopackage.
    Do similar from L2 ODS to Cube.
    then reconstruct the deleted request in ODS.It will not show the tick mark in ODS.Do delta load from ODS to Cube.
    see below thread..
    Urgentt !!! Help on reloading the data from the ODS to the Cube.
    cheers,
    Vishvesh

  • I just got a new nano and downloaded the most up to date itunes then I plugged it into my computer and it does not turn on at all, no charge image and my computer doesn't even recognize that there is a connection. How do I fix this?

    I just got a new nano and downloaded the most up to date itunes then I plugged it into my computer and it does not turn on at all, no charge image and my computer doesn't even recognize that there is a connection. How do I fix this?

    By calling iPod tech support while you are under warranty.  You also have 14 days to return it w/no questions asked for a replacement or your $$$ back. 

  • How do I transfer my boot disc data to a new disc and have the new disc become the boot disc?

    My original 500 Gb boot drive is full (~800 Mb available).  I purchased a 1 Tb drive and installed it (no problems).  Now I want to transfer everything on my original boot disc to the new drive and have the new drive become the boot disc.  I would then wipe the original disc and use it for data backup.
    Can I simply copy all the contents of the original disc to the new disc (this seems too easy...)?  I am in that process, now, but am feeling insecure about it.  I do have Time Capsule.  However, when I went into it to restore to the new disc it wouldn't perform the task - maybe I am overlooking something...
    Suggestions are welcome!
    Thanks
    Jim

    No, the system won't 'copy' but you can clone it.
    http://macperformanceguide.com/Mac-HowToClone-backup.html
    http://macperformanceguide.com/Mac-HowToClone.html
    http://www.bombich.com/software/ccc.html
    You could also copy or clone  /Users to the new drive and leave the system where it is and free up most of the file space being used. OS X only needs 100GB. That way all the data is on the new drive.
    And I think you want to add CCC along with TimeMachine to your backup strategy.
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine/

  • I accidentally created an identical email acct, how to I delete the newer one and not the old one?

    entally created an identical email acct, how to I delete the newer one and not the old one? And I'm receiving e's just from the new one.

    Move the "e's" (email messages?) to the old account first. You can drag and drop.
    To remove an account in Thunderbird:
    '''[http://kb.mozillazine.org/Menu_differences_in_Windows,_Linux,_and_Mac Tools|Account Settings]|&lt;select the unwanted account&gt;|'''
    Down at the bottom of the left-hand pane, '''Account Actions''' then '''Remove Account'''.
    Are both accounts using POP? That could explain why new messages appear in the new account but not the old.
    It could help to post your Thunderbird settings data: '''Help|Troubleshooting Information'''. Clear the "Include account names" checkbox. Click on "Copy text to clipboard", then paste (ctrl+v) into your next posting here.

  • I updated my computer to the new software and now the iPhoto has a circle with a line through it.  When I try to update, it pops up to say "These apps cannot be accepted by your apple id". Then will say "update unavailable with this apple id" how do i fix

    I updated my computer to the new software and now the iPhoto has a circle with a line through it.  When I first try to open it the pop us says: "You can't use this version of the application "iPhoto" with this version of OS X. Version: 9.2.1"  When I try to update, it pops up to say "These apps cannot be accepted by your apple id - These apps were already assigned to another Apple ID and they will be available in that Apple ID's purchases list.  If you don't have access to that Apple ID and want to receive future updates, you will need to purchase the application".  I checked and there is nothing under the "purchases" in my App store.  Then will say "update unavailable with this apple id - This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or canceled." Then the third pop up says "We could not complete your request. There was an error in the App Store.  Please try again".  Just want to know how do to fix.

    After I upgraded to Mavericks I was also having this message when I tried to update. There was a previous post about this problem which offered this simple solution which worked for me:
    b0n0b0
    Re: Recently upgraded to Maverick from SnowLeopard. Unable to get updates from App store.
    Mar 15, 2014 9:05 AM (in response to Terence Devlin)
    Got it! Thanx.  What I did was go to my account, check that they had my new ID and Password which they did, then hit reset button. All fixed.

  • How do I move data files from old iPhone? Specifically, the password files for the App mSecure from my old iPhone 3Gs to iPhone 4S?

    How do I move data files for mSecure (a password saver app) from old iPhone 3GS to new iPhone 4S?

    That article is about using your iPod as an external hard drive, to move files from one computer to another computer.  It is not related to your question.
    You can't use iTunes to move song files from iPod to computer, except for songs you purchased from the iTunes Store (and you can also re-download purchases).  However, there are third-party methods and utilities that can move song files from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the song files are on your current computer, add them to that computer's iTunes library by dragging the files (or folder containing the files) to the iTunes window.  After confirming everything is there (and fixing the data issue you mentioned) you can sync the iPod.  You may want to do a Restore on the iPod, if it might have a data corruption issue, which will erase the iPod's hard drive, re-install the latest software, and set it to defautl settings.

  • Have iTunes version 10 .3 but do not understand cloud in iTunes 11.03 can someone explain it and also how do you find duplicates in new version and will the new version sync with my iPod Classic which I have had for 4 years

    I have iTunes version 10.03 which I love but my iPad Apple mini has iOS 7 but I don't understand the new iTunes what is the cloud shown next to the music and how can I find duplicates can anyone help me navigate the new iTunes and will the new version sync with my iPod Classic which is 4 years old

    The main differences between iTunes 11 and earlier versions are the loss of coverflow and ability to have multiple windows open.
    In Windows, you can restore much of the look & feel of iTunes 10.7 with these shortcuts:
    ALT to temporarily display the menu bar
    CTRL+B to show or hide the menu bar
    CTRL+S to show or hide the sidebar
    CTRL+/ to show or hide the status bar (won't hide for me on Win XP)
    Click the magnifying glass top right and untick Search Entire Library to restore the old search behaviour
    Use View > Hide <Media Kind> in the cloud or Edit > Preferences > Store and untick Show iTunes in the cloud purchases to hide the cloud items. The second method eliminates the cloud status column (and may let iTunes start up more quickly)
    If you don't like having different coloured background & text in the Album (Grid) view use Edit > Preferences > General and untick Use custom colours for open albums, movies, etc.
    With iTunes 11.0.3 and later you can enable artwork in the Songs view from View > Show View Options (CTRL+J) making it more like the old Album List view
    View > Show View Options (CTRL+J) also contains options to change the sorting of grid based views
    The cloud icons give you access to stream or download any qualifying past purchases that you don't currently have downloaded to the library.
    Regarding duplicates, things haven't really changed. Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    Yes, iTunes 11 will support your iPod classic.
    tt2

  • HT1766 I recently replaced my iphone and took 6 weeks of new pictures, I plugged it to my computer and by accident I restored the back from 4 months ago and erased my new pictures. How can I recover the new pictures ?? Help!!

    I recently replaced my iphone and took 6 weeks of new pictures, I plugged it to my computer and by accident I restored the back from 4 months ago and erased my new pictures. How can I recover the new pictures ?? Help!!

    Sorry those pics might be gone, since you restored from your backup.
    Only way possible if by some possibility you were able to backup your current data to itunes, then you can restore from that backup.
    Open itunes - edit - preference - devices - backup - see if there is an up to date backup.
    If you don't have one then sorry those pics are gone.

  • How do I connect TC to a new ethernet and share a new ethernet DSL with a new PC and use with my macbook Pro? I tried and get no internet on the PC or Macbook Pro?

    how do I connect TC to a new ethernet and share a new ethernet DSL with a new PC and use with my macbook Pro? I tried and get no internet on the PC or Macbook Pro?

    Ok.
    I am connected to wi-fi through TC connected to a specific router and is working perfectly and saving data through TM without any issues.
    The TC version is 7.6.1 and am using OS 10.7.3
    The router mode is on Bridge mode and router is connected to TC through USB cable, I suppose for internet access. My Mac is on wi-fi through TC
    I have another location, much further, which recently have been installed with wi-fi through router that has WPA accessibiulity with password, 100% different than the current one.
    Since, I will be most of my time in this new location, I wish to move my TC to this new location, and configure it in similar fashion like what I am having right now.
    Naturally, I do not wish to lose any saved data on the TC.
    Hope I managed to provide enought info.
    Thanks in advance

  • I tried to log on my new ipad and forgot the password combination.  Due to several tries the ipad is locked up.  I remembered the password but my ipad is still disabled.  How do I get it going again?

    I tried to log on my new ipad and forgot the password combination.  Due to several tries the ipad is locked up.  I remembered the password but my ipad is still disabled.  How do I get it going again?

    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPad.
    iOS: Wrong passcode results in red disabled screen
    This will tell you how to restore
    iTunes: Backing up, updating or restoring iOS software
    If you cannot restore that way, you may have to use recovery mode
    iPad: Unable to update or restore

  • How can I export photos from Aperture with a new sequence and ignore the embedded JPEG number? Have tried renumbering to no avail.

    How can I export photos from APERTURE with a new sequence and ignore the embedded JPEG number? Have tried renumbering to no avail.
    has anyone resolved this issue?
    This is now the second big Problem with using Apple's Appeture with NO apparent FIX...
    Aperture has NO DIRECT way to Burn to a CD/DVD & apparently NO way to RE-SEQUENCE the numbering system????
    ANYONE... I wish APPLE would address/fix these 2 problems... LIGHTROOM I guess is next?

    Hi David,
    Coming in and whining loudly is rude.  We are all volunteers here, voluntarily sharing our expertise so that users like you can make the most of their time with Aperture.  Speaking just for myself:  although I do care about your success with software (it's why I'm here), I don't care what software you use.  If you want to use Lightroom, do so, and post your questions in an appropriate forum.
    Burning files to a CD is a file operation done at the system level (it is built into OS X).  Aperture lets your create sharable image-format files from your Images.  You then use OS X's tools to burn those files to a CD.  Iirc, you can set up a "Burn Folder" in Finder, into which you can export files created from your Images, and with a single click burn your CD.
    Naming the files you create by exporting your Images can be tricky.  There are _many_ possibilities.  Some things can't be done.  Sequencing can be done in a number of ways (see Léonie's answer above).  What have you tried?  What was the result?  In what way did this differ from what you expected?
    --Kirby.

  • How to download all data (music.contacts,apps) from iPhone to a new PC ?

    How to download all data (music.contacts,apps) from iPhone to a new PC ?
    I mean to say that I downloaded mp3 songs from websites (not from iTunes) which I synced in my iPhone 4 using ''Manaually Manage Music''.
    Now I am in my homecountry for vacations and don't have the laptop in which my iTune library is synced and I need to add more songs to my iPhone but when I put more songs to my iPhone it tells me that all current data from iPhone will be deleted.
    Please help!

    The iphone is not a backup device.  The music sync is one way - computer to iphone.  The only exception is itunes purchases.  Without syncing:  File>Transfer Purchases.
    " I need to add more songs to my iPhone but when I put more songs to my iPhone it tells me that all current data from iPhone will be deleted."
    That is correct.

  • I just downloaded iTunes on my new PC and all the music that I have purchased through ITunes that was backed up on the cloud won't play. It is telling I must authorize this computer before it play pre purchased music. how do I authorize my computer.

    I just downloaded iTunes on my new PC and all the music that I have purchased through ITunes that was backed up on the cloud won't play. It is telling me I must authorize this computer before it can play pre purchased music. how do I authorize my computer to play this music?
    Thank you for any assistance.

    Tigon's already got you covered here. But I'll chime in with some English localisation advice.
    There's a couple of ways to get through to the authorisation controls in the 11.0.x versions.
    The control is still in the Store menu, but first (if you're using iTunes versions 11.0.x) you might need to bring up the menu bar to see the Store menu.
    If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:
    Then you'll find the control in the Store menu:
    Alternatively, if you don't want to bring up the menu bar, it's still possible to get into the authorise controls via nested menus accessible from the wee boxy icon. Here's a screenshot of where to find them:

Maybe you are looking for