kreetika gj

Greenhorn
+ Follow
since May 29, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kreetika gj

hello friends,

after searching a lot about session maintainning ...didn't get clear answer...so i just popup here for better solution..

1st time using the session in java web application...so little bit confused about the way of doing..

now in my application i am coming to login part...

well i have done little stuff for that..

there is one method for checking the right user from database table in my stateles session bean which reside in the ejb module,
also there the web service and the web module which contains jsf and managed bean..
i am calling the method of session bean wia web service..

successfully configure about the registerd user login...but abot the session maintainance got confused of how to do...

here is my work..






well i have redirected after successful login to welcome.jsf

upto this working...now about getting the session value to the new page bt printing the logged username...m confused of how to do...

have tried by using session.getattribute("username") to the other page but not getting value.

so i want to know the proper way of doing it...

as initial stage i have not assigned the user role..

bt want to do as if admin doing login the redirect to the admin's home page..

is it possible ? how to do it..

please guide me...

many thanks..
13 years ago
JSF
hello friends,

m just coming to develop the application using jsf/richfaces1.2 with managedbean and also the ejb module

in my application there is one ejb module including entity bean,session bean and web service
and thr is web module with jsf framework..

m getting confused at this point...tht how to check for valid user while login
and if user valid then create session for tht user..

as i have written the collection method which gets all username and password from the database table..

bt how can i check for the condition of valid user from database?..
well i thought to write in managed bean bt nt able to get reference of the inputtext fields from the jsf page..

please guide me for this confusion by giving d example..

also one question do i need to take managed bean with session scope?

it is better to make the login with security from glassfish 4848 server?


many thanks..
13 years ago
JSF