How to validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ?
Answer / hasan ul huzaibi
You can Use a HashMap to put all user objects into into it
and put this hashmap into session and whenever required get
HashMap from session and get object with key as user name
and then validate it against login
details...hasanulhuzaibi@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
Explain the hierarchy of java exception classes?
What are the different types of garbage collectors in java?
what is meant by UP& DOWN casting in java?
Give me example of derived data types.
What is the method in java?
How Marker Interfaces are instruct to complete the desired need ?
What is overloading and overriding in java?
Is an object null?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,
What is the file type?
why Runnable interface is preferable than extending the Thread class?
7 Answers Aizza, College School Exams Tests, Sybrant Technologies, Wipro,
What are teh sub-classes of a component class?