How can I open new window from a link in another window?

Hello everyone!
Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data will then be displayed in the child window. I don't how to open a new window with the data retrieve (thru the servlet) displayed in it. I'm using model 2 architecture (Servlet-JSP).
Thank you in advance and more power!
nicoleangelisdaddy
[email protected]

Or you can use something like this,
Click and in your test()
<script language="javascript">function test()
      document.form_name.target="_blank";
      document.form_name.action="/test/servlet/LoginServlet";
      document.form_name.method="post"
      document.form_name.submit();
}</script>
Here "/test" is your application context path.
If you want to open the link in the named window then use,
document.form_name.target="your_own_name";

Similar Messages

  • How can I open raw files from my Nikon D7100 in CS4 or CS5?

    How can I open raw files from my Nikon D7100 in CS4 or CS5?

    Andy,
    In the simple and short form, what happens with the ACR (Adobe Camera RAW) module is that it gets updated with regularity, to accommodate the camera mfgr's. changes for their newer models. That ACR works within the host program, such as Ps, PsElements, Lightroom, etc.. At a point, Adobe ceases to support older host program versions. When that happens, the user has a few options:
    Upgrade the host program version
    Use another host program, such as PsElements or Lightroom
    Use the free DNG converter, per Curt's suggestion. That is not host program dependent
    Glad that the DNG Converter works for you.
    Good luck,
    Hunt

  • [bug] Can't open new desktop from mission control if dock is on the right side

    I can't open new desktop from mission control if dock is on the right side

    I recently moved my dock to the right so I didn't know the + sign would switch sides. I normally run around that many too depending on how large of a stack whatever I am programming is using.
    Anyways, thanks for the help

  • How can i open the popup from java class

    Hi,
    Please tell me how can i open the popup from java class.
    I am using jdev 11.1.1.7.0
    I have used the below code which works fine in jdev 2.1 but it will have some errors in 11.1.1.7.0.
    Please tell me some way to do this in all jdev versions.
    Bean obj = (Bean)RequestContext.getCurrentInstance.getExternalContext.getPageFlowScope(“obj”);
    Code for hide pop-up
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = obj.getPopUpBind().getClientId()
    ExtendedRenderKitService service = Service.getRenderKitService(FacesContext.getCurrentInstance(),
    ExtendedRenderKitService.class);
    String hidePopup = "var popupObj=AdfPage.PAGE.findComponent('" + popupId +
    "'); popupObj.hide();";
    service.addScript(FacesContext.getCurrentInstance(), hidePopup);
    Code to Show pop-up
    StringBuffer showPopup = new StringBuffer();
    showPopup.append("var hints = new Object();");
    showPopup.append("var popupObj=AdfPage.PAGE.findComponent('" +
    obj.getPopUpBind().getClientId() + "');popupObj.show(hints);");
    service.addScript(FacesContext.getCurrentInstance(), showPopup.toString());
    Code need to be added in jsff pop tag
    binding="#{pageFlowScope.bean.popUpBind}
    Variable need to be added in Bean.java
    private RichPopup popUpBind;

    Hari,
    Since you're using a non-public build of JDeveloper, you should be using a non-public forum.
    John

  • How can I open RAW files from Nikon D7100 in Photoshop Elements 9?

    How can I open RAW files from my Nikon D7100 in Photoshop Elements 9

    Three choices:
    1. Upgrade to PSE11
    2. download the free Adobe DNG Converter and then convert your RAWs to DNG, which will open in PSE9
    3. Use manufacturer's software and convert to TIF (or JPG)

  • How can I sync new friends from Facebook?

    Hi guys,
    I have Nokia N9 with the latest firmware version.
    I configured my Facebook account and set it to show my friend list in my Contacts.
    I can see all my friends from Facebook and they have merged with my contacts list.
    But when I add new friends to my Facebook, they won't sync and won't show up on my Contact list.
    How can I sync new friends from my Facebook? Is there any way to refresh the list?
    Thanks :-)

    Only the contents of the most recent photo sync remains on the iPad, so if you want both sets of photos on the iPad you need to include them in the sync - by not including the current iPad photos in the new sync iTunes 'assumes' that you no longer want them on the iPad.

  • How can i open the plugins from the channel strip. I can't open it

    How can i open the plugins from the channel strip. I can't open it. Here's the vid detailing it www.youtube.com/watch?v=NkR04dHjUiI
    www.youtube.com/watch?v=GW9AwMITcoM
    Thanks for your help.

    From the online Help menu search on     Opening Plug
    Chose the help that starts with:   Opening, Closing, Resizing
    Read it.

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • How can I script moving paths from one file to another?

    Hello. I have 1 image with various color correction layers. The other is the exact same size but only contains paths. How can I script moving paths from one file to another? Thanks, in advance, for any help you can offer. Thanks!

    Thanks! This one actually worked for me. Thanks for your help.
    http://forums.adobe.com/message/3305389#3305389

  • How can I copy cell formatting from one range to another?

    How can I copy cell formatting from one range to another, including text fonts, colours, borders, etc., so that, for example, I can reuse a formatted reconciliation table again in different parts of a sheet?

    Hi George,
    Wayne found the Spinning Beachball of Death, and you will find it too.
    Numbers is not good at handling large datasets. Might I suggest that you group your data into smaller sets (each month, perhaps?) and save each group in a separate Numbers document. Numbers will not link between documents, but you could have a summary Table within each document. Then comes the "clunky" bit of copying all those summary tables into a master document where you do the final processing of the data.
    Regards,
    Ian.

  • How can I pass the photos from one iphone to another?

    how can I pass the photos from one iphone to another?

    Use the Beaming feature. See the info at the ? In iPhoto for iOS.

  • How can I move a photo from one project to another

    How can I move a photo from one project to another without creating a duplicate so I have the same photo in two projects.
    I seems to me in the past when I moved the photo from project 1 to project 2, I would get a number showing the # of photos being moved and you could drag and drop in the 2nd folder and the photos would disappear from project 1 and show up in project 2. is there a setting I am missing.  Now when I drag and drop the photo no red # shows up and the photo stays in project 1 and also shows up in project 2 apparently creating a duplicate.
    Any suggestion?

    Now when I drag and drop the photo no red # shows up and the photo stays in project 1 and also shows up in project 2 apparently creating a duplicate.
    The projects are the basic containers.  Each image and all its versions are in exactly one project.
    You can use an image in many albums, without duplicating it, also in many products like books, screensaver, slideshows.  But the projects are the basic structure of the library and you cannot have the same image in two different project, without duplicating it by storing the same original image files twice. Use albums to organize your library thematically.
    Sorry, I misread your question.   Dragging an image file between projects should move the image and all its versions to the other project.  Aperture should only duplicate the image, if you hold down the alt/options key while dragging and move the image otherwise.
    Which Aperture version are you using? And which MacOS X version?  Is your profile signature "MacBook Pro with Retina display, Mac OS 9.2.x, Aperture 3.5.1" still valid?
    In Aperture 3.6 on MacOS X 10.10.1 dragging between projects is still working as expected:

  • How can I move a clip from one movie to another

    How can I move a clip from one movie to another?

    If it's just a clip, you can simply go to the other project and Add Media/From Files and Folders.
    But if it's a part of your movie -- say a sequence of clips or a clip that's had effects added to it -- you technically can't cut and paste betweeen projects in Premiere Elements. However, some people have been able to do it using the third party program ClipMate, available online.

  • How can I open a document with applescript without the doc. window opening.

    How can I open a document with applescript without opening the document window and speak the text of the document?  I can get it to open the file but the doc window always opens up. 

    try
              set pathToMyFolderOnDesktop to ("Macintosh HD:Users:jodyconnor:Desktop:") & "Dsource:" as alias
              set rnd to (random number from 1 to 6)
              set rndFileName to (rnd as text) & ".scpt"
              set FullPath to pathToMyFolderOnDesktop & rndFileName as text
              set myScript to load script (FullPath as alias)
      run script myScript
    on error the error_message number the error_number
              display dialog "Error: " & the error_number & ". " & the error_message buttons {"OK"} default button 1
              return
    end try
    This code answered my question:  Hats off to Digimonk from stackoverflow and Darrick Herewe from stackoverflow.

Maybe you are looking for

  • Query designer problem

    Dear All, I am facing the problem in the query designer that when i edit any of the formula in the query it allows me but when i edit it second time , it wont allow me and throws a following exception... "An unhandled exception has occurred in your a

  • RSS 2.0 parser loop (issue with load unload)

    Hello, Im using a GNU class from http://sunouchi.31tools.com/ASRssParser/#usage to parse rss2.0 files. In the example on the site it parses one file, but i need to parse more files and put them in an array. Im not an experienced AS writer, but i just

  • Shockwave flash plug-in keep crashing

    The Shockwave Flash plug-in on my laptop keeps crashing. I've installed a newer version, bu that doesn't help. Can you help? Thanks

  • Recording views to show later while using google earth. Thank You.

    Can I video record to SD, or thumb drv map views when using google earth to show later where there is no net connection. I want to record, and show an old guy what his mountain property looks like from the air via his TV which has USB & RCA video in.

  • Can anyone figure out why this runs into an infinite loop?

    Hi, I have the following class, and if i run it, I encounter an infinite loop. I have pinpointed the problem and it is because of the lines: try {             UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());         catch (Excepti