cancel
Showing results for 
Search instead for 
Did you mean: 

Want to add javascript on UmLogonPage.jsp

dhruv_shah3
Active Contributor
0 Kudos
135

Hi All,

i want to add javascript on UmlogonPage.jsp in the Portal logon par.

I want this javascript to be executed when the user presses logon button in the portal.

I want to store the Userid, IP address and Machine Name of the user.

Pls help me out,

Regards,

Dhruv Shah

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Dhruv,

I think you need to use java bean because if you want to store the Userid, IP address and Machine Name of the user. then you need to store somewhere in the backend system.

Hope it helps

Regards

Arun

Answers (3)

Answers (3)

dhruv_shah3
Active Contributor
0 Kudos

we have used load balancing, so it was not getting the IPS in the Production Environment

dhruv_shah3
Active Contributor
0 Kudos

Hi, I write piece of code in the Umlogonpage.jsp for capturing the Failed Login attempts and another piece of code in Masthead.par file for capturinf Successfull login attempts.

but now thing is that I am getting the IP of WebDispatcher instead of getting the Client IP in Production Portal.

In Devlopment and QA System i am gettng Client IP.

I had used remoteaddr() from HttpServletRequest Class.

So any one can help me out.

Regards,

Dhruv

Former Member
0 Kudos

Hi,

Check this thread

Regards

Baby

Former Member
0 Kudos

Hi,

Create the java bean by using setter and getter methods to get the values like IP and machine details.

set the values to session object through set attribute and get the values where ever you want use it.

Thanks,

Sreeni.