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 difference between javascript and jsp?
Can I declare a java class in jsp?
What is scriptlet and what is expression?
What are different types of comments used in jsp?
Which package does jsp api consist of?
Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page?
What is the difference between jsp and thymeleaf?
What is jsp scriptlet?
What is session object in jsp?
Explain jsp technology?
What is jsp and its advantages?
Which implicit object is not available in normal jsp pages?
How session is achieved in JSP?(once user logs out,if he press back button of browser he should not be allowed to same page)
What are the different scopes an object can have in a jsp page?
What is directive jsp?