How to include jsps's of one application into another

Hi people,
I want to include a jsp from one web application into another. I have specified in the web.xml in Tomcat/conf directory that both the applications are "crosscontext=true". But tomcat fails to include the jsp from the other web application. It always tries to look for that resource with respect to the context of the current application.
Any idea how do I go about it. Any suggestion will be greatly appreciated.
Thanks,
Subhadeep De.

In the standard Sun JSTL tag library there is a tag that will include the output of the jsp in your jsp. I beleive the tag is called "include" or "import" but I forget the exact name. I also believe that you'll have to pass any needed parameters.

Similar Messages

  • How to get a value from one item into another

    How can i get value from one item into another item.
    Ex: I have a report, in there i have check boxes, and when i have checked some rows, and press submitt, a prosses computates it into a item on another page, and a branche redirects to page 3. Then i'm going to use the value in the item into a PL/SQL script in an report to show the submittet items.
    How can i do this?
    Computation script, pages and all that is fixed. But i dont know which PL/SQL statement to use to get th value from the item.

    Hi Fredr1k,
    Use the V() function from pl/sql.
    e.g. V('P3_MY_ITEM')
    will return the value of that page item.
    As long as the pl/sql is called from within the Apex environment.
    Regards
    Michael

  • How can I move part of one photo into another photo?

    In older versions of Photoshop you could see two or more frames in the work area and cut an paste parts of one photo into another photo by using the "move" tool after the area to be moved was selected. I am having trouble discerning how to achieve this action in CC. Could someone in the forum with this experience give me some steps to take to complete this process? Thanks.

    Thanks Trevor!
    Bill Coan (BillCoan Photographs)
    Moravian Falls, North Carolina
    336-928-0498 (c)
    336-903-8674 (h)
    On Mon, Jun 16, 2014 at 6:48 PM, Trevor Dennis <[email protected]>

  • How to send an object from one application to another?

    Hi all,
    I have two applications over the same server. The first application needs to send an object to the other application.
    I try to put the object as a session attribute, but in the moment that the second application tries to get the attribute, the attribute doesn't exist.
    Does anybody now how can pass an object from the one application to the other?

    You can also use JMS

  • How to pass a CString from one application to another application using WPARAM/LPARAM in sendmessage fn.

    I have two different application A & B. I am trying to send a message from A to B. In application A , I get the window handle of application B and call postmessage fn to post a message to application B. While posting the message I am trying to send a
    cstring in wparam parameter so that it can be accessed in the message handler.
    Code in Application A:
    void CTestApplnDlg::OnBnClickedOk()
     CString csProcessName = _T("FSAPP.exe");
     CFSProcess objProcess;
     HWND hFSWnd = NULL;
     if(objProcess.GetProcessHandle(csProcessName, hFSWnd))
      CString * csMessage = new CString(_T("This is message from A application."));
      ::PostMessage(hFSWnd, WM_THIRD_PARTY_NOTIFICATION, (WPARAM)csMessage
    , NULL);
    In the other application in the event event handler I try to do the following :
    LRESULT CMainFrame::OnProcessThirdPartyNotification(WPARAM wParam, LPARAM lParam)
     CString* csMessage = (CString*)wParam;
     if(csMessage )
      AfxMessageBox(*csMessage);
     return 0L;
    In the message handler fn, the variable csMessage is pointing to a address but the value is a bad ptr. On accessing the variable like *csMessage it crashes. I have created the variable in heap when the message is posted. So I hope the variable will be in memory.
    Pls help.

    The ultimate problem is that when you place a CString in a wparam like that you are putting an address.  That address only has meaning in the first program.  Your second program cannot access the first programs memory (this is good, otherwise misbehaving
    programs could take down all applications in Windows).  But it does make transferring data between programs more complicated. 
    Some messages like WM_COPYDATA will copy a data buffer from one process to another and are appropriate for what you are trying to do, but a custom message like
    WM_THIRD_PARTY_NOTIFICATION is not one of them.
    By the way your example has a memory leak as well since you would have no way to ever clean up the string you allocate in OnBnClickedOk

  • Calling one application into another

    how can i call one application file into another so that
    session should not expire in any way
    Has anyone done such like that

    Put the code into a cfc or custom tag and have both
    applications call it as required.

  • How to save the contents of one file into another file?

    Hai,
    i'm trying to save the contents of an existing file into a new file...
    for example.. if i'm having a ms word file namely ss.doc..
    now i want to save itz contents into another file namele dd.doc..
    How shall i do it..
    Can an one plzz explain me...
    senthil.

    Hi, Senthil.
    This Forum is not a general discussion forum.
    You don't believe that the InDesign SDK is a general purpose API. Do you?
    I think you must post issues like this where they belong, in this case in a Microsoft Word Forum.
    Best regards.
    Oscar.

  • How do I insert part of one image into another in Elements 8?

    I am testing Elements 8 and would like to, for example, take an eagle from one image and insert it into another.  I've done this with other editing programs, but can't see how to do it here.  If one is to use layers, then I have another problem.  How does one open layers from more than one image in the palettes?

    MS993 wrote:
    I am testing Elements 8 and would like to, for example, take an eagle from one image and insert it into another.  I've done this with other editing programs, but can't see how to do it here.  If one is to use layers, then I have another problem.  How does one open layers from more than one image in the palettes?
    You can only view the layers of one image at a time. I believe E8's default setting is a maximized setting which allows for only one image in the workspace. If you change the setting in the menu to Cascade, you can have several images open in your workspace. I believe, that's under Window<Arrange.  The layer's palette will display whichever image is currently selected.
    There are several ways to do it. Here are a couple...
    Copy/Paste...
    One way is to select the eagle with a selection tool...magnetic lasso whatever...then copy the eagle into your clipboard. Edit<copy. (Shortcut = Ctrl + C on PC; Cmd + C on Mac).
    Open the second image then paste. (Shortcut = on PC Ctrl + V; on Mac Cmd + V). This will add the eagle to the current image. Use the move tool to position the eagle.
    Drag/Drop...
    Alternately, change window<Arrange in the menu bar to Cascade. This will allow you to have more than one image in your workspace.
    Open both images. Select eagle with a selection tool. Once selected, switch to the move tool. Drag eagle into second image.
    Alternately, you could also lift the eagle to it's own layer then drag it over using the move tool. Release the mouse button when you are over the second image to drop the eagle. (Shortcut to lift selected eagle from the background to it's own layer = on PC Ctrl + J; on Mac = Cmd + J.)
    Note: Both images should be the same or close to same resolution. The image that is dragged will adjust (resize) to match the background image resolution. (Low resolution images dragged into high resolution images are tiny whereas high resolution images dragged into low resolution images would be huge).

  • How to copy the content of one file into another

    I have tried this code
    try {
                   fin = new FileInputStream("file path");
              catch(FileNotFoundException exc)
                   System.out.println("File not found");
                   return 0;
              catch(ArrayIndexOutOfBoundsException exc)
                   System.out.println("Usage: Showfile file");
                   return 0;
              while(true){
                   i=fin.read();
                   if(i==-1)
                        break;
                   cnt++;
              fin.close();*/
    now in this way i can lift one character at a time and copy it into another file (note i have not done the copy part in this code but that can be implemented) however this whole procedure is taking too much time if the size of the file is too big....kindly suggest another way to copy one file into another

    have you ever copied and pasted a large file in Windows or another OS? Larger files take more time to copy, that's just how it is.

  • How to move an icon from one Pic into another Pic?

    Hello,
    I haven't seen this question addressed so forgive me if this was already discussed.
    I like to know how I can place a small smiley icon (pic) into another existing photo. In Photoshop Elements (be it 4.0 or 6.0) if I drag the the picture into Elements, it shows up and place it in the project bin. Here's the problem, when I drag the smiley icon onto the picture (which is already shown in Elements) it creates another window for the smiley icon and project bin instead of affixing itself onto the pic.
    Yes, I can use Ctrl-A to copy the smiley face and then drag it onto the pic. But when I use Paint.net (a free program) it does exactly that asking me to confirm that I want to create a new layer. The difference is that with Paint.net I can drag 2 pics from the desktop and add them together within seconds. With Elements I have to do an extra step and, this extra step just seems unnecessary.
    Is there a way to simply drag the smiley face onto the pic without creating another window (using Elements)?

    http://i11.photobucket.com/albums/a154/eastcoasthandle/3.jpg
    http://i11.photobucket.com/albums/a154/eastcoasthandle/4.jpg
    These 2 pics should further show/explain what I am talking about as I am not sure of the proper name for this process.

  • How to copy a plugin from one application to another,  is there an export possibility?

    I am using Apex 4.2.2 with 10g and OHS.
    There is a Gantt chart plugin in the Sample Calendar packaged application. I couldn't find that plugin for download.
    When I open it (Application Builder>Application 76373>Shared Components>Plug-ins>Create / Edit)
    it states:
    *Name (Value Required)    Gantt Chart
    *Internal Name (Value Required)    COM.ORACLE.APEX.GANTT_CHART
    Reference Master Plug-in From: 65708911358321918
    It refreshes without an error when I press the 'Refresh Plugin' button.
    I can copy the SQL code, can dowload the .css file,  etc., but I guess it is not enough.
    The Information section brings me the http://apex.oracle.com/plugins page, but there is no Gannt plugin.
    Is there any possibility to use this plugin in the same workspace in another application?
    Or sharing it? Or export and then import it?
    Thanks in advance.

    Hi,
    In Application Builder ->  Application XXXX -> Shared Components -> Plug-ins, click on plug-in name which will take you to plug-in details page. Here, on right hand side, you should see "Export Plug-in" under "Tasks". Click this link and follow the wizard.
    Regards,
    Hari

  • How can i use calculation from one sheet into another sheet in discoverer

    I have a function which has to be used for several calcualtions in discoverer report.For each row the function is called 8 times, Is there any way that i can create a caculation based on the function in one tab and use this value returned by the function in the other tabs in the discoverer so that i can eliminte the function being called 8 times for each row.
    Please help.

    Hi Lloyd ,
    Thanks for the reply. See below for the detail explanation of what i am Talking about.
    I am Developing a Operational Expense Report based on a Custom Table.
    I get the following columns from the custom Table - Account, Amount Manual, Amount Local, Amount Overseas.
    Then I have two Functions which Calculates two different Ratios Based on the other Custom Table.
    1st function - Qualifying Sales Ratio
    CREATE OR REPLACE FUNCTION xxwfs_avi_q_sales_ratio (p_period VARCHAR2)
    RETURN NUMBER
    IS
    v_q_ratio NUMBER := NULL;
    BEGIN
    SELECT ROUND ((a.nonqualified_ar_amount / b.nq_nq_ar_amount), 4) qualifying_sales_ratio
    INTO v_q_ratio
    FROM (SELECT SUM(NVL(gp.total,0)) qualified_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified = 'Q'
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    ANDgp.gl_date <= p_to_period) a,
    (SELECT SUM(NVL(gp.total,0)) nq_nq_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified in( 'Q','NQ')
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    ANDgp.gl_date <= p_to_period) b;
    RETURN v_q_ratio;
    EXCEPTION
    WHEN OTHERS
    THEN
    v_q_ratio := 0;
    RETURN v_q_ratio;
    END xxwfs_avi_q_sales_ratio;
    2nd Function - Nonqualifying Sales Ratio
    CREATE OR REPLACE FUNCTION xxwfs_avi_nq_sales_ratio (p_period VARCHAR2)
    RETURN NUMBER
    IS
    v_q_ratio NUMBER := NULL;
    BEGIN
    SELECT ROUND ((a.nonqualified_ar_amount / b.nq_nq_ar_amount), 4) nonqualifying_sales_ratio
    INTO v_q_ratio
    FROM (SELECT SUM(NVL(gp.total,0)) nonqualified_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified = 'NQ'
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    ANDgp.gl_date <= p_to_period) a,
    (SELECT SUM(NVL(gp.total,0)) nq_nq_ar_amount
    FROM xxwfs_gp_table gp
    WHERE gp.company = 24101
    AND gp.gtp_qualified is not null
    AND gp.org_id = 126
    AND gp.gl_date >= p_from_date
    AND gp.gl_date <= p_to_date) b;
    RETURN v_q_ratio;
    EXCEPTION
    WHEN OTHERS
    THEN
    v_q_ratio := 0;
    RETURN v_q_ratio;
    END xxwfs_avi_nq_sales_ratio;
    The report is Run based on the parameter for the Range of gl_date.
    I registered these functions in discoverer and passing the parameter values to calculate the ratios. The 2 ratios are just one time calculations for the range of gl_date the report is run.
    The i mulitiply Qualifying Sales Ratio with the columns Amount Manual, Amount Local and Amount Overseas to get Qualifyied Amount Manual, Qualified Amount Local , Qualifyied Amount Overseas and the Nonqualifing Sales Ratio with the same Amount Manual, Amount Local and Amount Overseas columns to get NonQualifyied Amount Manual, NonQualified Amount Local , NonQualifyied Amount Overseas.
    This is the design i am approching now. For each record the function is called 8 times to calculates the qualifying and Non qualifying Sales ratios Ato caculate the other 6 columns based on these Ratio Calculations.
    So i was thinking if there is any way that i can get the Ratios for a specific date range in the First tab and usethe Value of the ratios in the other tab so that the function call is minimized.
    Waiting for your replies.

  • How to merge the objects of one rpd into another rpd in OBIEE.

    Hi to all,
    I am new user to OBIEE. I was given a task to merge two repositories. I tried a lot but couldn't do it. I went through many forums and discussions to find the relevant answer but couldn't find anything. Actually my requirement is to merge two repositories. For example, consider two repositories namely rpd1 and rpd2 respectively. Both repositories has their own set of objects. I just want all the objects of rpd2 to merge with rpd1 under the name rpd1. Is it possible? If it is possible... Please anyone let me know the steps to do it.
    Thanks in advance
    Thenmozhi

    Hi,
    See the below URLs will help you,
    http://varanasisaichand.blogspot.com/2010/03/how-to-merge-two-repositories.html
    http://gerardnico.com/wiki/dat/obiee/bi_server/obiee_repository_merge
    http://oraclebizint.wordpress.com/2008/03/24/oracle-bi-ee-101332-merging-repositories-substitute-for-import-from-repository-2-way-merge-with-no-parent-part-2/
    Thanks,
    Balaa...

  • How can I automate pasting from one document into another?

    Hi, I have a need for a document that I am regularly appending a blank form from another document to. I would typically just open the second document and select and copy the block of text and then return to my working document and enter a page break and then paste in the form, over and over.  I do this so often that a way to automate this would be a huge help.  However I have had little luck working with automator myself probably because I am missing something.  But I would appreciate any ideas....Thanks

    If you took time to read carefully Pages User Guide, you would know this well described feature :
    and you would use it to build a template as I urged you to do.
    Yvan KOENIG (VALLAURIS, France) vendredi 29 avril 2011 14:42:20
    Please :
    Search for questions similar to your own before submitting them to the community

  • How do I share data from one spreadsheet into another spreadsheet that is a separate file?

    I am trying to create a spreadsheet that will pull data from another spreadsheet in a different file for a what if scenario.  Is there a way I can reference a cell from that file besides adding a separate tab in the original file?

    For Numbers '09 (Mac), the answer is no, Numbers does not support references to a cell in a separate file.
    But the profile information at the bottom of your message, and the use of 'tab' in the message suggests you are using Numbers for iOS. I've requested your question be transferred to the iWork for iOS community, where the users of that version tend to be more plentiful than here, where the topic is Numbers (for Mac).
    Regards,
    Barry

Maybe you are looking for

  • O.T. Food For Thought

    Not something I would have thought any forum members are guilty of,but it does make you wonder how many adults of the future will know what they looked like when they were little : 'In the U.K., the information security company Symantec commissioned

  • How to open a picture from fotos to Photoshop

    Using IPhoto it was easy by drag and drop to open a picture in Photoshop. How does it work with Fotos?

  • Changing URL

    I'm using the LabVIEW web publishing to remotely monitor a few data points. The location I have the hardware at changed my IP address. The publishing tool automatically sets the URL and won't allow changes. I was wondering if it was possible to chang

  • Sending data to an Azure Event Hub from an iOS device

    I have been unable to find a library that will allow an iOS application to communicate with an Azure Event Hub.  Preferably, the library should use the AMQP 1.0 protocol -- since Microsoft recommends it when sending large amounts of data. Can someone

  • How to play duel games through the Apple TV?

    How do I play duel games through the Apple TV, I have two games that it says I can play through but I can't find anything in settings or anything...?