5 years ago in JSP And Servlet

The getSession() method with 'true' as its parameter [ getSession(true) ] it will return the appropriate session object when

[A] the session is completed
[B] the session object is passed to another method
[C] the session does not exists
[D] the session is existing
Loading...
Next Question

Overall Stats

Attempted 308
Correct 66
Incorrect 83
Viewed 159

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 5 days ago

Shamsa hafeez from Lahore, Pakistan is saying the session object is passed to another method is correct answer

Mamhoud kadi
Mamhoud kadi - 2 months ago

Mamhoud kadi is saying the session object is passed to another method is correct answer

Soniya Routhu
Soniya Routhu - 2 months ago

Soniya Routhu is saying the session does not exists is correct answer

Akanksha Singh
Akanksha Singh - 2 months ago

Akanksha Singh is saying the session is completed is correct answer

Aayush Vyas
Aayush Vyas - 2 months ago

Aayush Vyas is saying the session does not exists is correct answer

Related Questions

What are the mechanisms available in ServletContextListener interface?

  • [A] contextInit(), contextService(), contextDestroyed()
  • [B] contextInitialized((),contextDestroyed()
  • [C] contextInitialized(), contextService(), contextDestroyed()
  • [D] None of the above

The include() method of RequestDispatcher

  • [A] sends a request to another resource like servlet, jsp or html
  • [B] includes resource of file like servlet, jsp or html
  • [C] appends the request and response objects to the current servlet
  • [D] None of the above

The life cycle of a servlet is managed by

  • [A] servlet context
  • [B] servlet container
  • [C] the supporting protocol (such as http or https)
  • [D] all of the above