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 jstl (jsp standard tag library)?
What are directives? What are the different types of directives available in jsp?
difference betwwn 16 bit and 32 bit
Why are jsp pages preferred for creating web-based client program?
What are the events in jsp page?
Why is it not recommended to use script elements in jsp?
What class.forname will do while loading drivers?
Give uses of object cloning?
How jsp is executed?
Explain pge Directives.
Can we call destroy method inside init method?
What is the jsp:setproperty action?
What is scripting elements in jsp?
Is jsp used?
What are the lifecycle phases of a jsp?