how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / mainuddin
My declarring <%@ page session="true"%>
and setting one variable in request object
like.
<% String name="milu";%>
<% session.setAttribute("name",name);%>
getting this : <%=(String)session.getAttribute("name")%>
| Is This Answer Correct ? | 61 Yes | 11 No |
Post New Answer View All Answers
What is session setattribute?
Explain how you understand the action tag and jsp action elements.
What is jsp scriptlet tag used for?
What are the standard actions available in jsp?
What are the elements of a jsp page?
What are the attributes of page directive?
What are jsp lifecycle methods?
What do you know about jsp expression language (jsp expression language – el)?
What is a hidden comment?
What is scriptlet and what is expression?
What is jsp syntax?
What is called jsp directive?
What is session getattribute in jsp?
Is there a way I can set the inactivity lease period on a per-session basis?
What is contextpath in jsp?