How to find the web address for the page I came from

Hello,
I want to find the page that I last visited in ADF for implementing some audit functions.
My jdev version is 11.1.1.2.0; I've search on the internet but I didn't find anything.
Please help me.
Thank you in advance.

FacesContext ctx = FacesContext.getCurrentInstance();> HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
ctx.getExternalContext().redirect(request.getContextPath() + "/faces/" + ctx.getViewRoot().getViewId());
ctx.getExternalContext().redirect() - wil redirect to the correct page..
ctx.getViewRoot().getViewId() - wil give you the current view id as suggested by Sireesha
request.getContextPath() - will get you the complete context path

Similar Messages

  • How to find the file that delete from time capsule?

    How to find the file that delete from time capsule?

    I mean I saved JPEG file in Time capsule and unfortunately delete the file. Can I get it back
    IF.... .no other backups have occured since you deleted the file, you might be able to retrieve it using an application like Disk Warrior. It's about $100 as I recall, and there are no guarantees that it will work.
    DiskWarrior 4 - The Disk Utility for Mac  Disk Repair, Mac Directory ...
    Any of the free or low priced utilities that you might see or try will not be able to retrieve a deleted file from a Time Capsule.
    If any backups have occured since you deleted the file, the deleted file has almost certainly been overwritten. No way to retrieve it in that case.

  • How to find the third highest salary from deptno20,from employee table

    how to find the third highest salary from deptno20,from employee table

    SELECT *
      FROM emp;
    EMPNO
    ENAME
    JOB
    MGR
    HIREDATE
    SAL
    COMM
    DEPTNO
    7369
    SMITH
    CLERK
    7902
    12/17/1980
    1000
    3
    20
    7499
    FEDERAL
    SALESMAN
    7654
    2/20/1981
    2000
    4
    30
    7521
    WARD
    SALESMAN
    7698
    2/22/1981
    3000
    4
    30
    7566
    JONES
    MANAGER
    7839
    4/2/1981
    4000
    3
    20
    7839
    MARTIN
    SALESMAN
    7698
    9/28/1981
    5421
    4
    30
    7698
    BLAKE
    MANAGER
    7698
    5/1/1981
    6222
    4
    30
    7782
    CLARK
    MANAGER
    7839
    6/9/1981
    5222
    2
    10
    7788
    SCOTT
    ANALYST
    7566
    12/9/1982
    5463
    3
    20
    7839
    KING
    PRESIDENT
    7902
    11/17/1981
    8543
    2
    10
    7844
    TURNER
    SALESMAN
    7698
    9/8/1981
    2124
    4
    30
    7876
    ADAMS
    CLERK
    7788
    1/12/1983
    2125
    3
    20
    7900
    JAMES
    CLERK
    7698
    12/3/1981
    5462
    4
    30
    7902
    FORD
    ANALYST
    7566
    12/3/1981
    2132
    3
    20
    7934
    MILLER
    CLERK
    7782
    1/23/1982
    5165
    2
    10
    SELECT sal, deptno
      FROM (SELECT   a.*,
                     DENSE_RANK () OVER (PARTITION BY deptno ORDER BY sal DESC) r
                FROM emp a
          ----  ORDER BY sal DESC
    WHERE r = 3;
    SAL
    DEPTNO
    5421
    30
    5165
    10
    2132
    20
    Regards ,
    Friend
    Message was edited by: MostWanted!!!!

  • Some of the time the back button is greyed out when i have clicked on a new link. It's not a new window or tab, and the page I came from is not even in my history!

    At first I thought I had unknowingly gone to a new tab or window, but that's not it. I haven't ruled out that I have completely lost my mind, but I'm really hoping that's not the problem, although with win 7 that seems more and more likely all the time. It seems to happen at random. I tired holding down or right clicking the back button but there is nothing. The fact that the page I came from is gone from the history seems really strange.
    Sorry for the duplicate post, see this topic: https://support.mozilla.com/en-US/questions/807937

    This issue can be caused by the McAfee SiteAdvisor extension.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How to find the contents of proc from top command

    I had a doubt related to how to find the contents of a procedure or the statements from the PID displayed in top command if it can be done from TOAD or
    sqlplus. If we can find out the details from top like:-
    21211 oracle 16 0 3228 1012 764 R 0 0.0 0:07.68 top
    1 root 16 0 1732 552 472 S 0 0.0 0:01.29 init
    say, what is the process with PID 21211 and 1 are doing?
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Join v$process, v$session, and v$sql
    SQL> ed
    Zapisano file afiedt.buf
      1  SELECT p.pid, s.sid, s.serial#, sq.sql_text
      2    FROM v$session s,
      3      v$process p,
      4      v$sql sq
      5    WHERE s.paddr = p.addr
      6*   AND sq.address = s.sql_address
    SQL> /
           PID        SID    SERIAL# SQL_TEXT
            37        128          2 BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :
                                     2, :3); END;
            19        149       4566 SELECT p.pid, s.sid, s.serial#, sq.sql_t
                                     ext   FROM v$session s,     v$process p,
                                          v$sql sq   WHERE s.paddr = p.addr
                                      AND sq.address = s.sql_address
    SQL>Edited by: Łukasz Mastalerz on Feb 12, 2009 1:27 PM

  • How to find the cost center group from cycle/ segment in CO module?

    Hi All,
    I need to fetch the list of cost centers in the cost center group against the cycle.
    Is there any table which will store the list of cost centers against the cycle?
    or else, what I was thinking is use of BAPI BAPI_COSTCENTERGROUP_GETDETAIL, which will give me the list of cost centers,
    but we need to pass the controlling area + cost center grp to fetch the cost centers from BAPI, I have controlling area with me but not the cost center grp name, only I have Cycle info lke cycle name, segment name, seq number. so how to find the cost center grp name from the cycle name?
    Regards,
    Mrunal

    FM: RK_AL_CYCLE_READ
    CHECK TABLE: T811K

  • How to find the page that has the downloads?

    I am signed in to my valid creative cloud account. All I want to do is get to the page that lets me do the downloads of Acrobat, Photoshop, etc.  I can't for the life of me find the page!  Please help.

    Ted,
    For what it's worth, I agree.
    My experience is that Adobe has lots of valuable information tucked away in somewhat obscure, hard to find URLs. But it seems to be assumed that these locations are plain and clear and people know where to go.
    I find myself getting lost in dark corners of the Adobe website at times. Or sometimes just stuck on what to do next. Then I read through the forums and see that apparently everyone knows but me

  • How to find the related PI document from a material document

    Dear All experts,
        If I know the materil document number, how to find the related PI document?
    Thanks!
    Xinling

    Hello Xinling,
    You can extract the details from table MSEG.
    Regards
    Kalpana

  • How to pass the page item data from tabA to TabB of a discoverer report

    I have a discoverer repoort, it is master_detail (Dept-Emp) report
    TabA is a master worksheet, which has a page item Deptno
    (the data is from a customized query)
    TabB is detail report which has a Deptno as the page item
    which show the emp detail info on this deptno
    (the date is from another customized query).
    What I want to do is;
    When I change the Deptno in TabA, TabB should automatically change to the deptno of Tab A when I click TabB.
    How can I pass the page item deptno from TabA to page item of TabB?
    Thanks for your help

    Hi.
    You are absolutely right, you cannot create a link from Page Item.
    My Idea was (and I'm sorry taht I didn't mention it at the beginning) to create one link for each and every column in the report in the TabA.
    All these links would be exactly same and pass the Deptno to the TabB.
    So the end user can click wherever he wants (all cells on the worksheets have the link to the TabB) and he is always redirected to the TabB with the Department parameter seted to Deptno Page Item from TabA.
    As I already said before, it is not exactly what you expected, but it's probably the best you can get out of Plus.
    Jakub

  • How to find out email address for my apple id

    Hello Folks.
    I have a bunch of songs that i bought and downloaded under an apple id that i don't currently use. I have forgotten the password for that account and I cant remember which e-mail, address was associated with it. How can I log in and authorize those songs please?
    R
    Mike

    Hello testermike,
    After reviewing your post, I have located an article that can help in this situation. It contains advice on how to identify the account name of your Apple ID:
    Recovering a forgotten iTunes Store account name
    http://support.apple.com/kb/HT1920
    If you have forgotten your iTunes Store account name, you can recover it if you have made iTunes Store purchases by following these instructions:
    Note: In most cases, your iTunes Store account name will be your email address. You may want to try signing in using your email address as your iTunes Store account name.
    Open iTunes
    Highlight one of the items you have purchased (You can find your purchases in your Purchases playlist).
    Choose File > Get Info.
    Click the Summary tab.
    The Account Name area will list the account used to purchase the item. Unless you have changed accounts, this is your iTunes Store account name.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • How to find the AK Region name from JSP

    I have the requirement to hide some of the fields/regions in Oracle Sales Online.
    To do that from AK Developer Region Name/Code and Region Item is required. How to find this Region Code.

    When you are on the webpage, right click and select "VIEW SOURCE". When the notepad opens up, find the string "TOP REGION". This will give the top region for that page. Query for this page in the AK Developer resp with "Define Regions". Then click on "Region Items". This will give all the Attribute Names and Nested Regions within the TOP REGION. You just have to dig into each one of 'em to find the one you need.

  • How to move the pages and reports from one dashboard to another

    hi all
    can please any one tel me hw to copy the reports along with pages from one dashboard to another
    Thanks

    Hi,
    Go to Administrator->Manage Presentation Catalg->Click on Group folder under which the dashboard and reports are present
    1)Create one folder and copy the reports which are present in the dashboard pages you want(reports will be under some specific folder,open and copy one after the other to the newly created folder).Do this if you want other set of same reports for new dashboard that you are creating
    2)Click on _portal and create a new folder(new dashboard)
    3)Click on dashboad that is to be copied
    4)copy the pages one after the other into new dashboard folder
    If you are not keeping new set of reports then no need to point reports in pages,if reports are placed under new folder then go to each page and pull those reports from newly created folder.
    Regards,
    Srikanth

  • How to find the original RAW file # from a Lightroom exported JPG?

    Hello, this is in regards to a Lightroom 3.5 exported JPG. This was a year ago when I had been told it was best to export files with simple renumbering of them from 1 to x... instead of retaining the original RAW 4-digit file name.
    I've currently lost the original files, and need to do a search for them via these 4 digits to see if I have them tucked away in any of my drives. I downloaded a metadata explorer, and it's telling me all the lightroom editing information, and everything else, but somehow does not have the simplest of information — that 4 digit original file name.
    Am I grasping at straws or is there likely to be any way to find this information out? I don't work with metadata, so there wouldn't have been any customizations to how Lightroom configures this....hoping that's in my favor. Any help is much appreciated!!!!

    A note about security (context: downloaded apps & plugins...).
    Anatomy of a URL:
    protocol://stuff.stuff.stuff.domain.domain-suffix/stuff/stuff?stuff=stuff
    None of this stuff matters much except:
    domain.domain-suffix (and protocol, to some extent).
    So if you download something from:
    http://ignafradifcawhatyousay.toolonganyway.my.server.com/gogafnoics...
    It's coming from server.com using http (web) protocol.
    But, if you download it from:
    http://my.server.com.badguy.tv/...
    It's coming from badguy.tv, NOT server.com, so if you want it from server.com - danger will robins...
    And, if you download from
    http://216.195.245.134/my.server.com
    It's coming from an unregistered internet address (216.195.245.134) - again: danger...
    (4 groups of up-to-3 digits separated by dots is the format for a literal internet (IP) address, instead of domain-name...)
    Summary: if you learn the anatomy of a URL, and pay attention to the URL's you are clicking on, or entering directly, you can take more responsibility for security, and assure (to a greater extent) you don't download from an unfriendly source.
    Disclaimer: I accept no legal responsibility for anything that happens as a result of anything written above...
    Rob

  • How to set default web address for new tab

    Hi,
    i am using your browser from last 1 year, and i like to use it.From last week i found a problem that when i open a new tab in same window it by default start babylon search and i want it blank only, can you help me?

    If it is a search engine in the search bar, see the [https://support.mozilla.com/en-US/kb/Search%20bar Search bar] article for details of how to remove a search engine.
    If you have the Babylon Toolbar, follow the procedure in the [https://support.mozilla.com/en-US/kb/Uninstalling%20add-ons Uninstalling add-ons] article, in particular the section on uninstalling extensions and themes

  • How to find the physical Host Name from a short host name?

    Hi,
      I meet a problem that in RFC destination setting I see some people maintain the
    short name in 'HOST NAME' field. But I need the long phiscial name.
      For example, the short one 'bsw6107', the phisical name is 'bsw6107.wdf.sap.corp'. It there a table or FM to look for it?
      Thank you.
    Regards,
    Yan

    Hi,
    Changing a host name on a central instance is a BIG thing, I personally would rather reinstall instead of changing a hostname...
    What comes immediately to my mind is:
    - SAP profiles
    - .sapenv* .dbenv* scripts
    - OPS$ users
    - /etc/hostname*
    - /etc/hosts
    - TMS (/usr/sap/trans)
    - Backup clients (and backup server changes if you use a central backup system)
    - RFC destination of external systems
    - SAP printers
    - other external systems connecting to the server (Fax, Archiving etc.)
    Regards,
    Sankar

Maybe you are looking for

  • My podcast don't come up after the ios 7.1 update

    when clicking some of my apps they flash open then close. This started happeing after I did the update. Any ideas?

  • Query of SRM components landscape

    Hi friends Actually i want to know a scenario where in which EBP,SUS,CCM(as supplier directory replicated from SUS),Strategic sourcing are used in Service Procurement of Extended Classic Scenario thanks regards krishna

  • Switching from Word processing to Layout mode

    Hi, I have old documents that always open as word processing. This makes it hard to group select items. Is there a way to open it as a layout document instead, or to switch on the fly. thanks, Tim

  • Inner classes - a general question

    i'm having some difficulties understanding when to use a static inner class and when to use a non static inner class lets say i'm implementing a LinkedList , and i want my nodes and my iterator implemented in inner classes . when and why should i dec

  • Active X overlays

    Hi everyone Recently I posted a message about the audio but not video appearing in a WMP Active X. I'd ensured the users had the latest codecs and that all video files were encoded as WMV9 using Windows Media Encoder. One person suggested updating th