Which of the following statements are true about KisMAC?
The getSession() method of the HttpServletRequest interface returns the current session associated with the request, or creates a new
session if no session exists. The method has two syntaxes as follows:
public HttpSession getSession(): This method creates a new session if it does not exist.
public HttpSession getSession(boolean create): This method becomes similar to the above method if create is true, and returns the
current session if create is false. It returns null if no session exists.
Answer B is incorrect. The getSession(false) method returns a pre-existing session. It returns null if the
client has no session
associated with it.
Answer A and E are incorrect. There is no such method as getNewSession() in Java.
Jeffrey
1 months agoKarl
1 months agoDelpha
1 days agoFreeman
2 months agoRashida
3 days agoLoreta
4 days agoRodolfo
8 days agoKiera
16 days agoShaun
22 days agoAracelis
28 days agoNickolas
1 months agoEzekiel
2 months agoPa
18 days agoCordell
26 days agoAnnice
1 months agoChara
2 months agoJules
2 months agoMy
2 months agoFelton
2 months agoNettie
2 months agoAnnamae
2 months agoJodi
3 months agoAlaine
3 months agoCaren
3 months ago