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
Is jsp page extensible true false?
Why do we need custom tags in jsp?
Explain the jsp implicit objects?
What is the purpose of creating custom tags?
Why jsp is used in java?
What is action tag in jsp?
What do you mean by jsp directives?
What is a jsp container?
Show attributes of page directives.
Explain jsp action elements or action tags?
What is cookie with example?
What is jsp and its architecture?
Mention the various implicit objects used in the expression
What are stored procedures? How is it useful?
Which of the following action variable is used to include a file in jsp?