Redirecting from one application to another

Hi All,
Anybody please tell me how to redirect from one application to another.
I have two application one is a1 and second is a2 inside orion.
a1 has a jsp file named a1index.jsp. and a2 has a jsp file named a2index.jsp.
in a1index.jsp file I am using response.sendRedirect("\a2\a2index.jsp") and redirecting to a2index.jsp. But it doesn't open a2index.jsp file as the syntex is not correct. .
Anybody please tell me what is the correct syntax to redirect from one application jsp to another jsp...
please reply soon..
Thanks in advance.......

thanks for your reply, but it is giving following
error.......
Error parsing JSP page /admin/login.jsp
Syntax error in source/admin/login.jsp.java:23:
cannot resolve symbol (JSP page line 2)
symbol  : variable RequestDispatcher
location: class /admin/login.jsp
RequestDispatcher =
getServletContext().getContext("a2/fabricatoradmin").g
etRequestDispatcher("\fablogin.jsp");
^
/admin/login.jsp.java:23: cannot resolve symbol (JSP
page line 2)
symbol  : method getServletContext ()
location: class /admin/login.jsp
RequestDispatcher =
getServletContext().getContext("a2/fabricatoradmin").g
etRequestDispatcher("\fablogin.jsp");Thanks
please reply..Inside a jsp file u can use the application variable instead of using
getServletContext()
like application.getContext("/a2").getRequestDispatcher("/fabricatoradmin/fablogin.jsp");
regards
Pravin

Similar Messages

  • Error while copying a page from one application to another application

    Hi All
    I am using Oracle Apex 4.0
    I getting the error ORA-06502 Pl/Sql Numeric error character string buffer too small when i copying a page from one application to another application.
    Thanks & Regards
    Srikkanth.M

    I'm having the same issue. How did you solve this?

  • How can I pass a value from one application to another through URL

    I am passing a value APP_USER from one application to another application (item is P_ASK_U) through navigation bar entrees URL.
    This is working with in the application..(javascript:popupURL('f?p=&APP_ID.:165:&SESSION.::&DEBUG.::P_ASK_U:#&APP_USER.#') )
    This one is not passing the value, eventhough it open the application..
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1:::P_ASK_U:&APP_USER.');
    Is there any syntax error or is it not possible, please let me know..
    Thanks
    Venu

    Hi Scott,
    You are right, the first one do not need # character.
    In the Doc it is mentioned as....
    Pass the value on a URL reference using f?p syntax. For example:
    f?p=100:101:10636547268728380919::NO::MY_ITEM:ABC
    I am using the following URL, it pops up the external application, but it is not passing the APP_USER value to the page item of that application.
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1::P_ASK_U:&APP_USER.');
    sorry I still do not know what I am missing..
    Thanks
    Venu

  • Copying single page ,region from one application to another application

    Hi,
    I need information regarding How to copy single page or region from one application to another application in the same workspace

    Hi - have a look at this thread: -
    Synonyms
    Cheers,
    Mike

  • Export and Import a page from one application to another within same WKSPCE

    Hello,
    Can anyone help me out in moving a page from one application to another within the space workspace. I tried to export it and then import the page, but I am not able to do that. I think the problem is with the application IDs.
    Plz help me out with this issue.
    Thanks,
    Orton

    Hi Orton,
    moving a page from one application to another within the space workspace
    This U can get it, through copying the page from one application to another application within the same workspace
    In the top of the page, you have "copy" option.
    regards,
    Kavitha

  • Bring a page from one Application to another

    Hi,
    how can I bring a page from one Application to another ?
    Many thanks.

    Is this 'other application' in the same workspace or in another workspace?
    Elsie

  • Move data from one Application to another Application.

    Hi All,
    I have a requirement to move data from one Application to another Application(we are working on SAP BPC 5.1/7.1 MS version).
    Can anybody please mention all the possible ways to achieve it.
    Thanks in advance.
    Regards
    Vani

    Hi,
    The best way to do this would be to use destination_app statement. Please refer to the below link from help.sap:
    http://help.sap.com/saphelp_bpc75/helpdata/en/79/b299446e02478fa5eca684d1297ef3/content.htm
    Alternatively, you can definitely export the data from one application and import it to the second.
    Hope this helps.

  • Switch from one application  to another without entered a login detail

    Hi,
    I have two application in same workspace and they have same authentication or login detail. if i switch from one application to another then it do not ask for login .
    for examle if i switch to sample application there login detail is diffrent it ask for username as demo and passoword as workspace then it should for login detail.
    can i create a menu of those application those have same login credential?
    how can i do this?
    Thanks and Regards
    Vedant

    Dear Friend,
    Thanks to reply me.
    i am using Customise authentication scheme .
    What should i pass in Cookie Attributes
    1.Cookie Name --------?
    2.Cookie Path --------?
    3.Cookie Domain-------?
    suppose one application path is
    http://apex.oracle.com/pls/apex/f?p=157:68
    suppose Second application path is
    http://apex.oracle.com/pls/apex/f?p=115:1
    and both application are in same Workspace
    i want to switch One application to Second Application .
    How to pass this application information in Cookie ?
    How can i do this ?
    Thanks
    Edited by: Vedant on Sep 25, 2011 11:48 PM

  • Load data from one Application to another in BPC NW 7.5

    Hi
    I have a requirement to load data from One application to another application.
    eg. HR Plannning to CostCenter Planning.
    I am aware of a method to load data using transformation file mapping source and target dimensions and run DM package and this works fine.
    However, the challenge is if i try to automate this process then i will have to hardcode the application tech name and save as variant to use that in process chain. Now, if i hardcode the tech name of the application then it might happen that during full optimization the tech name might change and the automation load will fail.
    so how to handle this situation? any standard practices available?
    appreciate your inputs/thoughts.
    Regards.

    Hi,
    Exactly. The main problem is that there is no statement to transfer the data. Please take a look at the below link from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/f4/33f0bbc46c4a53860f1410f20ffb8b/content.htm
    Since the structure of both the applications is same, you dont require add_dim or rename_dim, etc. However, you definitely need the when statement.
    If you want to transfer all the records, then you can have something like
    *WHEN ACCOUNT
    *IS *
        *REC(EXPRESSION = %VALUE%)
    *ENDWHEN
    Hope this helps.

  • What are the diffrent ways to copy data from one application to another?

    Hi,
    Can you guys tell me what are the different ways to copy data from one application to another application??
    I know we can do it through script logic using DESTINATION_APP.
    Is there any other way to copy data from one application to another application?
    Please help me
    Thanks,
    Charly

    You can also call a custom DTSX package in SSIS via the datamanager.
    there are at least 5 ways of transfering data in BPC between apps.
    1. Through the front end (excel etc) via evdre/evsnds
    2. Through Script logic using *Dest App
    3. Using BPC's standard export dtsx package via DM
    4. Using SSIS using BPC's custom SSIS tasks
    5. Through Script logic using stored procs.
    i am sure people will come up with more.
    remember if you use ssis and move data into any table but the wb, you need to process the cube afterwards.

  • 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

  • Link from one application to another, without having to log-in the 2nd time

    I figured out how to link from one app to another.
    But I don't know how to avoid the 2nd log-in.
    Do I just delete the log-in page for the 2nd application?
    Thanks
    Marion

    Marion:
    If the 2 applications are in the same workspace you can follow the method described in this thread (3rd post)
    Re: Problem with login using single Authenicaton Scheme inTwo application
    varad

  • Newbie Qs: Copying an outline from one application to another

    My apologies for accidentally posting this question twice!
    Hello,
    I want to copy an outline from one database to another, both on the same server. I know I can save the outline as a .otl file. But how do I actually copy this saved .otl file over to the other database? Sorry if this is a very basic question, complete newbie to Essbase. Thanks.
    ps: Is there another way of copying the outline over from one database to another?
    Edited by: Sam on Jun 27, 2010 1:48 PM

    Open the outline in Edit mode, and from File > Save As, Select "Essbase Server" tab. Navigate to database where you would like to save. If you have data inside the cube, it will give you options on what to do with the data.
    Hope this helps
    Thanks,
    Naveen Mikkilineni

  • Redirect page from one application to another application

    Suppose there are 2 links in one application. whenevr a link is clicked, it redirects to another appex application. how do you accomplish it?

    Try looking at this thread: Re: Problem with login using single Authenicaton Scheme inTwo application
    Thank you,
    Tony Miller
    Webster, TX

  • Passing the values from one application to another application using mvc

    Hi sdn,
    Iam new to bsp.i created one application zappl1 in that i created one controller and one view.in that view i created 2 input fields.and also  created another application zappl2 in that also created one controller and one view. wai i want to enter in the inputfileds of first application view that values will be display in second application view.Please help out of this.

    Hi,
    I can see 2 ways of doing. Either you use parameters in the URL from the first application to the second, as any web application would do.
    Or, you can think of using the Web Application Server let :
    - the first application store the values
    - for the second application to retrieve
    Personnally, I would tend to suggest the first solution as it allows both applications to be replaced later on.
    Best regards,
    Guillaume

Maybe you are looking for

  • How do I change the theme in Presenter to publish a page flip effect?

    I would like to change the theme in Presenter to save as and look like: http://page-flip.com/ How do I change the theme in Presenter to publish a page flip .swf & .pdf effect? Thank you for reply with help!

  • Getting Long Text of a Field Label

    Hi Friends, I have requirement in which , based on the filed I  need get the Long text of the data element.by default I am able to access the medium text of the data element. is there any function-module for getting Long text? Regards, Xavier.P

  • Background nav image not displaying in some browsers...

    Hi,    I'm in the process of building a website template - still ironing out some bugs, but just discovered that the bacground image in my navigation bar isn't displaying on some browsers (including some versions of IE). It works in IE8 where my prim

  • Strange box on my images in Photoshop

    Hi I'm getting this box appearing in Photoshop when working on my images. Does anyone know what would cause this?

  • Compiling an old linux code on a new mac

    Hello, I am trying to compile an old Linux program on my new macbook pro (Intel + 10.6). The program uses a mix of fortran and c source codes. On the Linux environment where it works I have gcc(f77) 3.2.3 installed. The only external library called f