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.
Doretha
2 months agoCassie
2 months agoOmega
29 days agoDenny
2 months agoGaston
2 months agoTish
2 months agoQuentin
2 months agoLuisa
2 months agoRaina
2 months agoLaquanda
3 months agoMargret
3 months agoAlise
3 months agoNoah
3 months agoTrina
3 months agoAngella
3 months agoAhmed
1 months agoThurman
2 months agoNgoc
3 months ago