Calling two servlets frm one browser window

My html page ahve 3 frames
and for 2 frames src are two difft. servlets and for one frame its static html file
<html>
<frameset rows="80%,20%">
<frameset cols="50%,50%">
<frame src="../servlet/CmdOutput">
<frame src="../servlet/AutoMsg">
</frameset>
<frame src="../servlets/CLI.htm">
</frameset>
<html>these two servlets are almost same... but browsers take too much time to laod it
(Except old Netscape 4.7 work fine)
instead when i remove one frame
<html>
<frameset rows="80%,20%">
<frame src="../servlet/CmdOutput">
<frame src="../servlets/CLI.htm">
</frameset>
<html>this works pretty fine....
any idea why ???????

You can probably accomplish what you want to do using frames. JSF might also be another technology that could help here depending on how you structure your application.

Similar Messages

  • How does a servlet close the browser window?

    How can a servlet close the browser window it is running in?

    I'm running the servlet by calling it in a browser window, passing parameters using POST, with the parameters appearing at the end of the url.
    Is there another way to run the servlet, without it affecting the browser window? That would be a better solution.

  • Keeping all pages in one browser window

    I'm trying to figure out how to have all of my pages for my
    site open under one browser window instead of opening up a new
    window when each button is clicked.
    I built Flash buttons for the pages and they work fine...I'm
    new at this and haven't figured out how to get the pages to open up
    in the main (index.html) browser window. I've tired doing it using
    the Add Behaviors, GoToURL selection but it doesn't work...also the
    only selection that appears is Main Window*, and I don't know what
    the * signifies. I'm sure that this is simple...help please!

    > I built Flash buttons for the pages and they work fine
    Does the page use Frames?
    http://livedocs.adobe.com/flash/9.0/main/00001180.html
    note this paragraph:
    Security note: In Flash Player 9 and later, when code in a
    SWF file that is
    running in the local-with-filesystem sandbox calls the
    getURL() function and
    specifies a custom window name for the window parameter, the
    window name is
    transfered into a random name. The name is in the form
    "_flashXXXXXXXX",
    where each X represents a random hexadecimal digit. Within
    the same session
    (until you close the containing browser window), if you call
    the function
    again and specify the same name for the window parameter, the
    same random
    string is used.
    so, targeting named frames is effectively broken when viewing
    local files
    AFAIK.
    They should work as intended when uploaded to a server.
    If that's not it, url address to the uploaded page please.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How to set two radius servers one is window NPS another is cisco radius server

    how to set two radius servers one is window NPS another is cisco radius server
    when i try the following command, once window priority is first , i type cisco radius user name, it authenticated fail
    i can not use both at the same time
    radius-server host 192.168.1.3  is window NPS
    radius-server host 192.168.1.1 is cisco radius
    http://blog.skufel.net/2012/06/how-to-integrating-cisco-devices-access-with-microsoft-npsradius/
    conf t
    no aaa authentication login default line
    no aaa authentication login local group radius
    no aaa authorization exec default group radius if-authenticated
    no aaa authorization network default group radius
    no aaa accounting connection default start-stop group radius
    aaa new-model
    aaa group server radius IAS
     server 192.168.1.1 auth-port 1812 acct-port 1813
     server 192.168.1.3 auth-port 1812 acct-port 1813
    aaa authentication login userAuthentication local group IAS
    aaa authorization exec userAuthorization local group IAS if-authenticated
    aaa authorization network userAuthorization local group IAS
    aaa accounting exec default start-stop group IAS
    aaa accounting system default start-stop group IAS
    aaa session-id common
    radius-server host 192.168.1.1 auth-port 1812 acct-port 1813
    radius-server host 192.168.1.2 auth-port 1812 acct-port 1813
    radius-server host 192.168.1.3 auth-port 1645 acct-port 1646
    radius-server host 192.168.1.3 auth-port 1812 acct-port 1813
    privilege exec level 1 show config
    ip radius source-interface Gi0/1
    line vty 0 4
     authorization exec userAuthorization
     login authentication userAuthentication
     transport input telnet
    line vty 5 15
     authorization exec userAuthorization
     login authentication userAuthentication
     transport input telnet
    end
    conf t
    aaa group server radius IAS
     server 192.168.1.3 auth-port 1812 acct-port 1813
     server 192.168.1.1 auth-port 1812 acct-port 1813
    end

    The first AAA server listed in your config will always be used unless/until it becomes unavailable. At that point the NAD would move down to the next AAA server defined on the list and use that one until it becomes unavailable and then move to third one, and so on. 
    If you want to use two AAA servers at the same time then you will need to put a load balancer in front of them. Then the virtual IP (vip) will be listed in the NADs vs the individual AAA servers' IPs. 
    I hope this helps!
    Thank you for rating helpful posts!

  • Opening More Than One Browser Window

    Hi all,
    Mac Newbie here!
    A quick question.
    If i wish to open more than one browser window, how do i do it?
    When i used to use a PC, i just clicked IE everytime i wanted to open another window.
    However, if i try to do that with Safari, nothing happens.
    I have looked through various settings pages but i cant seem to find anything to help.
    Any ideas?
    many Thanks!!!

    Hi Jason,
    Welcome to Apple Discussions & Mac!!
    If i wish to open more than one browser window, how do i do it?
    Under the Safari Menu Bar-> "File" click on the menu item "New window"
    Hope that helps answere your question. Please let us know.
    Eme"~[)
    Helpful.. Solved.....Why Award points?

  • ADF UIX: communication between more than one browser window

    Dear Sirs...
    how can i open more than one browser window using ADF UIX and jdeveloper 10.1.2 such that the data entered in the second window affects the data in the first?
    for example in the date field, a popup window appear that allows me to select the date, and then the selection appears in the first window.
    how can i achieve something similar? i am using UIX not JSP
    thanks for any help in advance
    best regards

    dear sir...
    i am afraid you got me wrong, i am not talking about the database values.
    let me give you an example of what i am trying to achieve:
    1- create a date field, create an input forum to fill that field (uix page)
    2- now you run the application, try to click the icon near the date field, a new popup window will appear, that helps you enter the date value.
    3- when you select the value, the popup window disappears and the date is inserted into the forum
    i am trying to achieve something similar.
    thanks for your previous answer, but you got my question wrong.
    best regards

  • Run same 9i forms servlet in different browser windows

    Hi all,
    I'm using Oracle9iAS Forms Service to deploy the forms. The problem that I have, is that I'm not able to run the same forms 9i servlet in two different browser windows.
    I'm able to run the 9i test form with the following URL in browser window one: http://HOST:PORT/forms90/f90servlet
    When I then try to run the same URL in a second browser window I get the following error:
    FRM-92050: Failed to connect to the Server: /forms90/l90servlet:-1
    Details...
    Java Exception:
    oracle.forms.net.ConnectionException: Connection from new browser window not supported
    I'm using Jinitiator 1.3.1.9 to run the forms.
    Thanks,
    Oliver

    Iam trying to work with menus.
    I have created a menu item EMPLOYEE and calling the employee form like this
    BEGIN
         RUN_PRODUCT(FORMS, 'EMPLOYEE', SYNCHRONOUS, RUNTIME, FILESYSTEM, '', '');
    END;
    But what happens is iam getting the error
    FRM-92101: There was a failure in the form server during the startup. This can bappen due to invalid configuration. Please look into the webserver log file for detail.
    Oracle.Forms.Net.ConnectionException: Connection for new browser window not supported.
    Following is the content of Application.Log
    06/12/16 16:59:08 Started
    06/12/16 16:59:24 formsweb: jsp: init
    06/12/16 16:59:24 formsweb: frmservlet: init
    06/12/16 16:59:24 formsweb: FormsServlet init():
    configFileName: D:\DevSuiteHome_1/forms/server/formsweb.cfg
    testMode: false
    06/12/16 16:59:24 formsweb: Started
    06/12/16 16:59:33 formsweb: lservlet: init
    06/12/16 16:59:33 formsweb: ListenerServlet init()
    06/12/16 17:06:43 formsweb: Connection from new browser window not supported
    06/12/16 17:06:57 formsweb: Connection from new browser window not supported
    06/12/16 17:13:24 formsweb: Connection from new browser window not supported
    06/12/16 17:14:07 formsweb: Connection from new browser window not supported
    06/12/16 17:15:57 formsweb: Connection from new browser window not supported
    This happens when i try to run more than one form in a browser.
    When i try to run the employee form seperately i have no problem
    Iam using Forms [32 Bit] Version 10.1.2.0.2 (Production)
    can you help in this.

  • Calling web report in new browser window

    I have one Web-based Oracle report where I am calling another report in a FormatTrigger as:
    http://myserver/cgi-bin/rwcgi60.exe?key1+:param1
    I want to run this second report in a new browser window. I tried using TARGET="_blank"
    but I get syntax errors. I know that without the cgi parameters, it is easy to include the TARGET after the URL. But can anyone tell me the correct syntax for the above case (with parameters)? I tried putting the TARGET before '?' and after the param but both failed.
    Thanks
    null

    try this in your format trigger:
    web.show_document('http://myserver/cgi-bin/rwcgi60.exe?param1=value+param2=value', '_blank');

  • Cache problem for servlet opening new browser window

    Requirement:
    I have JSP page say summary.jsp with link "print account summary"
    When user clicks on this link, new browser open with PDF document of summary.jsp
    This new browser window should not have address bar and toolbar.
    Solution:
    Servlet called PrintSummary which sets contenttype=application/pdf and sends the data to outputstream.
    href of link is
    Java script function is:
    function openWindow(url){
    window.open(url,'blank','toolbar=no')
    Problem:
    Since the URL of this new window is
    http:// host:portnumber/PrintSummary
    Even if I click the "Print summary" link for account2,
    being the same URL (http:// host:portnumber/PrintSummary) it accesses the existing page in the cache which is created for account 1.
    In href if I just use servlet url as
    I get the expected behaviour but then I don't have control on browser appearance and browser window will be with address bar and toolbar.
    The only option I could think of was changing URL as follows:
    <% String url ="javascript:openWindow('PrintSummary? var1="+ Math.random()+"')";
    So that URL is different all the time
    Is there any way to solve this problem?
    Thanks in advance
    M.

    I'd definitely try to use a Flex popup... but the
    flash.net.navigateToURL method is a simple way to open a popup
    window in a new browser. You can pass any data needed by the new
    page using the URLRequest and/or URLVariables. The URL you navigate
    to could, of course, be another Flex application if necessary. I
    use this only when I need to open a popup window on another site,
    or an HTML formatter report or something similar.
    Concerning yourself with the size of the popup window may be
    a bad design choice also. I, for example, have my browser
    configured to open all popups in a new tab regardless of sizing
    constraints imposed by the designer. If it is absolutely necessary
    for you to have control over the size of your popup window, you
    should follow the advice given by others and use a Flex
    popup.

  • Calling two transaction in one Zprogram

    How to call two transaction (MIGO and MIRO)with each transaction should display two different window simultaneously from one Zprogram..
    Pls let me know ...

    Hello Arun
    If you like to use an ABAP-OO version here is my approach:
    *& Report  ZUS_SDN_CALL_TRANSACTION
    REPORT  zus_sdn_call_transaction.
    TYPE-POOLS: abap.
    PARAMETERS:
      p_tcode      TYPE tcode.
    START-OF-SELECTION.
      CALL FUNCTION 'AUTH_CHECK_TCODE'
        EXPORTING
          tcode                          = p_tcode
        EXCEPTIONS
          parameter_error                = 1
          transaction_not_found          = 2
          transaction_locked             = 3
          transaction_is_menu            = 4
          menu_via_parameter_transaction = 5
          not_authorized                 = 6
          OTHERS                         = 7.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL METHOD cl_reca_gui_services=>call_transaction
        EXPORTING
          id_tcode             = p_tcode
    *      IF_LEAVE_CURRENT     = ABAP_FALSE
    *      IF_SKIP_FIRST_SCREEN = ABAP_FALSE
           if_new_external_mode = abap_true  " new mode
        EXCEPTIONS
          error                = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    END-OF-SELECTION.
    Regards
      Uwe

  • How to close one browser window and return to a named anchor on a page in another window

    I'm working on a website that has several book images at the bottom of each page. I have set it up so when the user clicks on a book another smaller browser window opens up with a description of the book. At the bottom of book description window, I have a close button which I added the window.close() behavior to. But I'd like to not just have the window close but return the user to the bottom of the original page where I have the books, an area that I have applied a named anchor to. Any ideas on how I can get this done.
    I'd appreciate any and all help.

    I haven't tried to customize this lightbox extension much.  But I'm pretty sure the size of the box is pre-determined by image size.  Bigger image, bigger box.  And that is coded into one of the Lightbox javascript libraries.
    As to placing a link in the caption, sure.  Just paste your html link code into the Lightbox Caption Panel like so.
    <a href="http://amazon.com"> Buy now from Amazon</a>
    There is much more detailed information about Lightbox and how it works at the huddled together website.
    http://www.huddletogether.com/projects/lightbox/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Opening a servlet in new browser window

    Does anyone know how you can make a servlet open in a a new browser window when clicking a link for that servlet.
    cheers

    Hi..
    do
    window.open("http://localhost:8080//yourservlet-path//servlet-name");
    you can also set window properties, they are passed as parameters to window.open
    see syntax of window.open. but this thing will open your servlet in a new window with default properties.

  • Call two programs from one program.

    HI all,
    I have two BDC interface in seperate programs.
    I want to call that two programs from one program based on a condition.
    Is there any way.
    I tried with call transaction 'SE38'.
    set parameter ID but it is taking buffered value.
    Thanks,
    sri

    use submit program to call other program.
    SUBMIT prog|(field) [AND RETURN] [options].
    also if you want BDC prog, then probably you can call the BDC recording using PERFORM bdc_prog (in program name).
    PERFORM (<fsubr>)[IN PROGRAM (<fprog>)][USING   ... <pi>... ]
                                           [CHANGING... <pi>... ]
                                           [IF FOUND].
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9dd035c111d1829f0000e829fbfe/content.htm

  • Calling two smartforms in one Abap program

    Hi ABAPers,
    Can anybody know how to call 2 smartforms in 1 abap program?actually i used the FM SSF_FUNCTION_MODULE_NAME...and two smart forms are called...but my main problem is...the first smartforms is called and the print dialog box appeared...once i click the button back ...the second smartforms is called and print dialog box appeared again..
    I want to correct this...i want this  to be happen once i click the print button...the two smart forms will be combined in a one printing...meaning the first page is the first smartforms and the next page will be the second smart forms...no matter how many pages will be the first smartforms...the second smartforms will concatenate or will append to the last page of the first smartforms..how can i do this?
    Please help...this is my sample code..kindly correct the error.
    Will reward points...
    suppressing the dialog box****************************
        outop-tddest = 'LP01'.
        cparam-no_dialog = 'X'.
        cparam-preview = space.
        cparam-getotf = 'X'.
    Call the First Smartforms *******************
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = 'ZSF_CHEQUE'
          IMPORTING
            fm_name            = ly_formname
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        CALL FUNCTION ly_formname
          EXPORTING
            prepared_by      = p_prepb
            approved_by      = p_apprb
          TABLES
            it_cheque        = it_final
          EXCEPTIONS
            formatting_error = 1
            internal_error   = 2
            send_error       = 3
            user_canceled    = 4
            OTHERS           = 5.
    Call the Second Smartforms *******************
          CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = 'ZSF_TSHEET'
          IMPORTING
            fm_name            = ly_formname
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        CALL FUNCTION ly_formname
          EXPORTING
            prepared_by      = p_prepb
            approved_by      = p_apprb
          TABLES
            it_cheque        = it_final
          EXCEPTIONS
            formatting_error = 1
            internal_error   = 2
            send_error       = 3
            user_canceled    = 4
            OTHERS           = 5.
    Thanks in advance
    aVaDuDz

    hi,
    i never used these function but i've found this link.
    [http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/content.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/frameset.htm]
    [SMartform printing;
    hope that is useful.
    bye
    Marco
    Edited by: nicolai marco on Jan 14, 2008 12:36 AM

  • Two main windows in smartform or two loops in one main window?

    Hello All,
    I have requirement in smartform where i want to print two diffrent data header and item data in the same page.
    and in between these two data i want one template to be printed for item data .
    Smartform is giving me error if i use two main windows
    if i use two loop nodes in the main window thn how to restrict the data getting over flowed to template(item data)
    scenario is
    header data****
    **item header**
    item data****
    Pls comment....
    Regards,
    Sunny

    As main window can only be one, so try it this way:
    Under main window create a TEXT1 for header text( first header) than a LOOP1 for looping the header table, under that first create a TEXT2 for header data, than below it create another TEXT3 for header text ( Second header), than below it add a LOOP2 for looping item table and in that add a where condition than under it a TEXT4 for item data .
    MAIN_WINDOW
        TEXT1                                     " first header
        LOOP1                                    " header table
            TEXT2                                 " header data
            TEXT3                                  " Second header
            LOOP2                                " item table with where condition
                TEXT4                             " item data
    With luck,
    Pritam.

Maybe you are looking for

  • Looking for a simple way to convert a string to title case

    New to LiveCycle and Javascript.  Looking for a simple way to convert a string to title case, except acronyms.  Currently using the the following, it converts acronyms to lower case: var str  =  this.rawValue; var upCase = str.split(" "); for(i=0; i

  • PDF viewing online is faded in colour (blue)

    I've encountered a fade out effect whenever I view a pdf file on the screen (online). I've tried to change the settings under general, but to no avail. Please advise. My firefox is of the latest version. Previous version was okay.

  • Composite photo and background layer question

    I would appreciate some help with a workflow problem when dealing with a composite, selection and background layer. My normal workflow is to start of in LR4, and if need be do an "edit in, CS6". I am relatively new to CS6, so bear with me. I have som

  • Pull Price from basic Price List

    Hi Experts, Could you help us build a FMS to populate item price in a marketing document from the basic price List (price list 1) if the price is blank, not found in the Special Prices and then in the assigned pricing list for a specific customer? Le

  • Problem with Creation/Code mode

    Hi!! When I open dreamweaver, and any of the pages i am working on, it opens them into code mode and i cannot swap to creation or creation / code mode......the option is just not available anymore...can anyone help please? Many thankx