how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / mayur patel
start session oject in jsp.
first u set using following methods
String name="Mayur4453";
session.setAttribute("user",name);
using retrive method
String suser=session.getAttribute("user");**
out.println("Hi. . !! welcome "+suser);
| Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
What is expression tag in jsp?
How do you delete a cookie within a jsp?
How did you implement caching in jsp?
Is jsp technology extensible?
What is jsp custom tag and what are it’s components?
What is jsp standard tag library, provide some example usage?
Can you stop multiple submits to a web page that are initiated by clicking to refresh button?
how can i add properties in dynamic text fields using .js file?
How does jsp engines instantiate tag handler classes instances?
How can I prevent direct access to a jsp page from a browser?
What are the advantages of jsp?
How we can disable session in jsp?
What are the different scope values for the
What language is jsp?
Why should we not configure jsp standard tags in web.xml?