srikanthradix
asked on
how to get user firstname and lastname fields to be filled automatically
Hi,
I have a login.jsp page, in that username and password are submitted. After that, i have a new jsp, that contains a link to process.jsp.
In that, i have fields like firstname, lastname,date. I need these tobe filled automatically for the user logged in. How to get the firstname and lastname and system current date to be filled automatically? please suggest me.
Thanks
I have a login.jsp page, in that username and password are submitted. After that, i have a new jsp, that contains a link to process.jsp.
In that, i have fields like firstname, lastname,date. I need these tobe filled automatically for the user logged in. How to get the firstname and lastname and system current date to be filled automatically? please suggest me.
Thanks
Didnt get your question. Please explain in detail.
ASKER
After user submits the the login.jsp page, he enters into a new jsp , which has fields like, firstname, lastname and date,etc....
i need to fill the fields automatically for the user( depending on the user logged in name ). I am not sure. i may have to use ,
wp.user.api.puma library, to get the username loggedin .
So ,
in puma library, there is method called,
com.ibm.wps.puma.User user = (com.ibm.wps.puma.User)req uest.getAt tribute("c om.ibm.por tal.puma.r equest-use r");
UserLogin = user.getFullName();
Like this. from this i can get the fullname. but how to get the firstname and lastname?
How to populate the date field with current system date?
i need to fill the fields automatically for the user( depending on the user logged in name ). I am not sure. i may have to use ,
wp.user.api.puma library, to get the username loggedin .
So ,
in puma library, there is method called,
com.ibm.wps.puma.User user = (com.ibm.wps.puma.User)req
UserLogin = user.getFullName();
Like this. from this i can get the fullname. but how to get the firstname and lastname?
How to populate the date field with current system date?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks, actually i am asking whether we can do anything with puma library..still this works for now... thanks