how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / asra
<%session.setAttribute("user","Murali");%>
Below statement you can use in any JSP to print the
welcome message. Start using JSP tags to better performance
and better coding.
Welcome to <%=session.getAttribute("user")%>
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
Can we use jstl in html?
How to make a “new line in html” in jsp?
What are the lifecycle phases of a jsp?
What is the jsp?
How do you pass control from one jsp page to another?
How can you avoid scriptlet code in jsp?
What are page directives?
What is client side technology?
Mention the advantages of jsp over pure servlets?
What is difference between jspwriter and servlet printwriter?
How do I prevent the output of my jsp or servlet pages from being cached by the browser?
How is jsp include directive different from jsp include action. ?
List the various action tags used in jsp.
What is difference between javascript and jsp?
What is out in jsp?