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

Give uses of object cloning?

0 Answers  


How run jsp program in netbeans?

0 Answers  


What are the differences between get and load methods?

0 Answers  


Explain JSP directives.

0 Answers  


What is a jsp directive?

0 Answers  






When i am useing useBean tag of JSP in weblogic server It show compiletion error..Like bad class file: C:\bea\user_projects\domains\Mahesh\applications\UseBean\WEB-INF\classes\user\UserData.class class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. user.UserData user1 = null; //[ /SaveName.jsp; Line: 4]

0 Answers  


What are the 3 tags used in jsp bean development?

0 Answers  


Can you make use of a servletoutputstream object from within a jsp page?

0 Answers  


What are jsp and servlets?

0 Answers  


What is the purpose of <jsp:getproperty >?

0 Answers  


Tell us about the jsp life cycle methods.

0 Answers  


What are the two kinds of comments in jsp and what's the difference between them ?

0 Answers  


Categories