how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / prasanthi
small correction in answer 1:
session.setAttribute("user",name);
using retrive method
//String sessionuser=session.getAttribute(name);
String sessionuser=(String)session.getAttribute(name);
| Is This Answer Correct ? | 6 Yes | 16 No |
Post New Answer View All Answers
How can I override the jspdestroy() method within a jsp page?
What are the different scopes an object can have in a jsp page?
What is a tag file?
Explain what is jsp ?
How can we forward the request from jsp page to the servlet?
Why do we need custom tags in jsp?
What is the scope of response object?
Which implicit object is not available in normal jsp pages?
What is jsp tag?
Differentiate between response.sendredirect(url) and
Why jsp is used in java?
What is difference between jsp and jstl?
What are the different scope values for the
Why session is used?
What is jsp exception?