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
How to configure init parameters for jsp?
What are the attributes on page directives?
Explain jsp and tell its uses?
Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com
What is difference between sendredirect and forward?
How do I run a jsp file in linux?
What is jstl used for?
What jsp lifecycle methods can I override?
What are the differences between get and load methods?
Perform a browser redirection from a jsp page?
Can we define a class in a jsp page?
Can we use jstl in html?
How can you include the results of another page?
What is the use of?
How is jsp better than servlet technology?