how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / murali mohan rao
first set the value in session using following methods
***Don't create the unnecessary Strings***
<%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 ? | 8 Yes | 3 No |
Post New Answer View All Answers
How to delete a cookie in a jsp?
Explain jsp?
What is asp and jsp?
How is scripting disabled?
Explain JSP Output comments?
Can you use javascript in jsp?
What is difference between javascript and jsp?
hpcl information systems officer 2008 Question Papers or any last previous questions papers thanks in advance shyamprasad71@gmail.com shyamprasad71@gmail.com
How to pass information from jsp to included jsp?
What are the 3 tags used in jsp bean development?
What is page scope?
What are custom tags in jsp?
What are directives? What are the different types of directives available in jsp?
What is jsp translation phase?
What is the use of session management?