how to maintain sessions in jsp?can you tellme the methods.
Answer Posted / aryan
String name="Arpit";
session.setAttribute("user",name);
String sessionuser=session.getAttribute("user");
out.println("WellGud"+sessionuser);
| Is This Answer Correct ? | 36 Yes | 11 No |
Post New Answer View All Answers
How do I include static files within a jsp page?
What is the jspdestroy() method?
Why do we use jsp?
Can you use javascript in jsp?
What is the
in jsf page i use two dropdown list.i.e state & district.if state dropdown is selected then & then district is enable.what should be my code.
Is jsp a front end?
How jsp is compiled?
What is the
What are the advantages and disadvantages of thread-safe jsp page?
What is the difference between java servlet and jsp?
Can an interface be implemented in the jsp file?
how can i add properties in dynamic text fields using .js file?
Why do we need custom tags?
Why are implicit objects not available in a regular jsp page?