J2EE Technologies

M

Mr. Dubey • 51.43K Points
Coach

Q 31. Which is mandatory in tag?

(A) id, class
(B) id, type
(C) type, property
(D) type,id
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 32. Which is not a directive?

(A) include
(B) page
(C) export
(D) useBean
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 33. “request” is instance of which one of the following classes?

(A) Request
(B) HttpRequest
(C) HttpServletRequest
(D) ServletRequest
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 34. Which one is the correct order of phases in JSP life cycle?

(A) Initialization, Cleanup, Compilation, Execution
(B) Initialization, Compilation, Cleanup, Execution
(C) Compilation, Initialization, Execution, Cleanup
(D) Cleanup, Compilation, Initialization, Execution
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 35. Default value of autoFlush attribute is?

(A) true
(B) false
(C) none
(D) all
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 36. Which option is true about session scope?

(A) Objects are accessible only from the page in which they are created
(B) Objects are accessible only from the pages which are in same session
(C) Objects are accessible only from the pages which are processing the same request
(D) Objects are accessible only from the pages which reside in same application
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 37. _jspService() method of HttpJspPage class should not be overridden.

(A) True
(B) False
(C) none
(D) all
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 38. Application is instance of which class?

(A) javax.servlet.Application
(B) javax.servlet.HttpContext
(C) javax.servlet.Context
(D) javax.servlet.ServletContext
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 39. Which tag should be used to pass information from JSP to included JSP?

(A) Using <%jsp:page> tag
(B) Using <%jsp:param> tag
(C) Using <%jsp:import> tag
(D) Using <%jsp:useBean> tag
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share

M

Mr. Dubey • 51.43K Points
Coach

Q 40. Which page directive should be used in JSP to generate a PDF page?

(A) contentType
(B) generatePdf
(C) typePDF
(D) contentPDF
WhatsApp Facebook Telegram

Share in MCQ Buddy Groups

Share