-
1)
Which of the following is a general purpose container?
- A) JFrame
- B) JDialog
- C) JPanel
- D) JWindow
-
2)
Which of the following component is/are used in directory Structure of web components?
- A) html, JSP, Images etc..
- B) web.xml, Classes folder
- C) lib, jar files
- D) All of the given options
-
3)
Which of the following is a correct order for Bean scope in JSP page from most visible to least visible?
- A) application, session, request, page
- B) page, request, session, application
- C) session, page, request, application
- D) application, session, page, request
-
4)
Which of the following is not included in simple tag while creating JSP custom tags?
- A) Start of tag
- B) End of tag
- C) Attributes
- D) None of the given options
-
5)
AWT is also called ______________.
- A) Light Weight Component
- B) Medium Weight Component
- C) Heavy Weight Component
- D) None of the given options
-
6)
Which of the following is NOT a standard method called as a part of the JSP life cycle?
- A) jspInit()
- B) jspService()
- C) _jspService()
- D) jspDestroy()
-
7)
Initialization parameters of a servlet are defined in __________ file.
- A) html
- B) JSP
- C) web.xml
- D) servlet
-
8)
The getSession() method of _________ returns HttpSession object.
- A) HttpServletResponse
- B) HttpServletRequest
- C) ServletConfig
- D) ServletContext
-
9)
Unpack directory structure of J2EE web application is __________
- A) Known as Web Archive file (WAR)
- B) Used during development of web application
- C) Used to deploy web application
- D) None of the given options
-
10)
Which of the following directory is the top level TOMCAT directory that contains all the application deployed on web server?
- A) webapps
- B) bin
- C) lib
- D) tags