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
Explain handling of runtime exceptions.
What is response sendredirect?
How to deactivate el usage on jsp?
Which of the following action variable is used to include a file in jsp?
How we can use javascript with jsp pages?
What is the difference between java servlet and jsp?
Can we write java code in jsp?
Why do we need custom tags?
Which directive is used in jsp custom tag?
Why taglib is used in jsp?
What is scriptlet tag in jsp?
How can I override the jspinit() method within a jsp page?
How can I override the jspinit() and jspdestroy() methods within a jsp page?
How do I use a scriptlet to initialize a newly instantiated bean?
Why are implicit objects not available in a regular jsp page?