What is session getattribute in jsp?



What is session getattribute in jsp?..

Answer / Samarjeet Yadav

session.getAttribute() is a method in JSP that retrieves the value of an attribute associated with the current HTTP session. It takes the name of the attribute as a parameter and returns its value if it exists, otherwise it returns null.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

What are context initialization parameters?

1 Answers  


What is the use of Application Object and Session Object in JSP?

4 Answers   HCL, Symphony,


What are page directives?

1 Answers  


What is jsp action tags?

1 Answers  


How to ignore the el expression evaluation in a jsp?

1 Answers  


Define Expression

1 Answers  


What is taglib uri in jsp?

1 Answers  


What is taglibs?

1 Answers  


How does JSP handle run-time exceptions?

2 Answers   IBM,


How we can include the result of another page in jsp?

1 Answers  


What is asp and jsp?

1 Answers  


What is request getcontextpath ()?

1 Answers  


Categories