Wired Equivalent Privacy (WEP) is a security protocol for wireless local area networks (WLANs). It has two components, authentication and encryption. It provides security equivalent to wired networks for wireless networks. WEP encrypts data on a wireless network by using a fixed secret key. Which of the following statements are true about WEP?
Each correct answer represents a complete solution. Choose all that apply.
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.
Meghann
4 months agoCarolynn
4 months agoJudy
4 months agoFrancisca
5 months agoTish
5 months agoRolland
5 months agoElizabeth
5 months agoKing
5 months agoTwanna
5 months agoOretha
5 months agoHerschel
5 months agoLilli
6 months agoCathrine
6 months agoFannie
6 months agoJarvis
6 months agoLouvenia
6 months agoDoretha
11 months agoCassie
11 months agoOmega
10 months agoDenny
10 months agoGaston
10 months agoTish
11 months agoQuentin
11 months agoLuisa
10 months agoRaina
11 months agoLaquanda
11 months agoMargret
11 months agoAlise
11 months agoNoah
11 months agoTrina
11 months agoAngella
11 months agoAhmed
10 months agoThurman
11 months agoNgoc
12 months ago