how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / manu
A small correction at **
using session oject in jsp.
first u set using following methods
String name="ravi";
session.setAttribute("user",name);
using retrive method
String sessionuser=session.getAttribute("user");**
out.println("welcome"+sessionuser);
u give this last 2 stmts in all jsp pages. it will
display as "Welcome ravi".
Is This Answer Correct ? | 123 Yes | 33 No |
Post New Answer View All Answers
What information is needed to create a tcp socket?
How do we print “
creates a new line in html” in jsp?
How can I override the jspinit() method within a jsp page?
What is the difference between "JTable" and "JTGrid"? can they be used interchangeably?
What is expression language in jsp?
What is jspinit method?
List all tags that are provided in jstl?
How clear chache and buffer of opera browser.
Is jsp and javascript same?
Can we use javascript in jsp?
Give uses of object cloning?
How many types of jsp tags are there?
Define JSP Scriptlet.
mention the three important tags used in the development of jsp bean.
What is difference between sendredirect and requestdispatcher?