EBS Customizations (MOSC)

MOSC Banner

How can I retrieve EBS login user_id from a custom jsp page that just shows the user_id of the curre

edited Jun 10, 2012 12:28AM in EBS Customizations (MOSC) 1 commentAnswered
Hi all,
I have a custom page that gets the user_id and shows it on the page. After login to EBS, I click my custom resp
and the menu that I registerd in EBS to show up my custom jsp. This custom jsp file basically just calls
a PL/SQL NUSC_TEST_LOGIN_PKG.MAIN and within this pkg, it has  p_userid := TO_CHAR( FND_GLOBAL.user_id() );
but always in this jsp, it shows user_id is -1.

----Snip of jsp -----
// TEST Start
        try{
          DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
          lConn = DriverManager.getConnection("jdbc:oracle:thin:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center