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 I declare a java class in jsp?
What is meant by jsp?
What is the page directive is used to prevent a jsp page from automatically creating a session?
Explain the difference between servlet and jsp?
How can html output be prevented from being cached?
how can i update the marque in jsp without changing the sourse code
What is jsp exception?
Which language is used to write servlets and jsp?
What is jsp language?
How to ignore the el expression evaluation in a jsp?
How can we handle exceptions thrown by jsp service method?
Why jsp is better over static html also explain lifecycle of a jsp?
What is jsp life cycle?
What is action tag in jsp?
How is jsp used in the mvc model?