How do you maintain a stateful session object across the
session

Answers were Sorted based on User's Feedback



How do you maintain a stateful session object across the session..

Answer / sangeetta

Stateful session object across session may be maintained
through session tracking techniques :
1)Cookies
2)URL rewriting
3)Session Variables
4)HttpSession

Is This Answer Correct ?    6 Yes 0 No

How do you maintain a stateful session object across the session..

Answer / balaji

Stateful session object across the session may be maintained
through :

1. Hidden fields
2. Cookies
3. Http Session Object
a) Session managed using Cookies
b) Session managed using URL-reWriting technique.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

what is the RMI / IIOP?

3 Answers  


whats is stored procedure,joins

1 Answers   Photon,


What is threadfactory?

0 Answers  


i want documentation of text file splitter & merger of advanced java

1 Answers   Infosys,


1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession

1 Answers  






Which containers use a border layout as their default layout?

0 Answers  


How JNDI is used in JMS ?

1 Answers  


Name the method to find, if a thread is active or not?

2 Answers  


why static class in java

0 Answers   Infotech, SunGard,


What are externizable interface?

0 Answers  


Why is main purpose of XML?

5 Answers  


What is permgen or permanent generation?

0 Answers  


Categories