How to get session in Jsp other than session object?

Answers were Sorted based on User's Feedback



How to get session in Jsp other than session object?..

Answer / gitesh_31in

1)Url Rewritting
2)Cookies
3)Hidden Filed

Is This Answer Correct ?    18 Yes 0 No

How to get session in Jsp other than session object?..

Answer / shrinath rodage

<% session.getAttribute("value"); %>


// This Signature is to get the Session id from other page

Is This Answer Correct ?    5 Yes 0 No

How to get session in Jsp other than session object?..

Answer / find_chaitu

HttpSession ses=null;
ses=request.getSession();
this code is placed on jsp

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More JSP Interview Questions

What is jsp container?

0 Answers  


Why jsp and servlets are used?

0 Answers  


How to works asjx in jsp?

1 Answers  


How can we forward the request from jsp page to the servlet?

0 Answers  


What is the difference between directive include and jsp include?

0 Answers  






How to include static files in a jsp?

0 Answers  


What is jsp custom tag and what are it’s components?

0 Answers  


How session is achieved in JSP?(once user logs out,if he press back button of browser he should not be allowed to same page)

0 Answers  


How did you implement caching in jsp?

0 Answers  


How can I prevent the use of scripts and java code on the jsp page?

0 Answers  


Which jsp method cannot be overridden?

0 Answers  


What is tag file in jsp?

0 Answers  


Categories