0% found this document useful (0 votes)
61 views23 pages

ScreenShotTypedQuestion 15.01.24 Correctupdate

1. The document discusses various topics related to JavaServer technologies including JSF, JSP, servlets, filters, and JSTL. 2. It provides examples of different types of input elements that can be created in JSF and asks questions about JSF tags, configuration files, and design patterns. 3. Questions are also asked about servlet lifecycle methods, deployment descriptors, Hibernate, model architectures, and exceptions thrown in servlet code.

Uploaded by

unstable da
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views23 pages

ScreenShotTypedQuestion 15.01.24 Correctupdate

1. The document discusses various topics related to JavaServer technologies including JSF, JSP, servlets, filters, and JSTL. 2. It provides examples of different types of input elements that can be created in JSF and asks questions about JSF tags, configuration files, and design patterns. 3. Questions are also asked about servlet lifecycle methods, deployment descriptors, Hibernate, model architectures, and exceptions thrown in servlet code.

Uploaded by

unstable da
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

1.

How you create various kinds of input elements by JSF


a) <h:inputSecret >
b) <f:inputText>
c) <f:inputTextarea>

2. Which xml attribute allows us to specify XPath expressions?

a) Transform
b) Allow
c) Select
d) View

3. Which of the following are the data access technology? (Choose two)

a) frameworks

b) JSTL

c) EJB

d) RMI

e) A&C

4. When destroy() method of a filter is called?


a) The destroy() method is called only once at the beginning of the life cycle of a filter
b) The destroy() method is called after the filter has executed
c) The destroy() method is called only once at the end of the life cycle of a filter
d) The destroy() method is called after the filter has executed doFilter method

5. Which of the following are JSP Action tags are used for bean development?

a) Jsp:useBean
b) Jsp:setProperty
c) jsp:getProparty
d) All of the above

6. What is the abbreviation of JSP?


a) Java Service Programming
b) Java Server Programming
c) Java Service Page
d) Java Server Pages
7. Which is the basic deployment folder in the web container of Tomcat?
a) lib
b) WEB-INF
c) wabapps

8. Which are the correct about Model 1 Architecture? (choose all that are applicable--
a) Quick and simple
b) Page centric
c) Complex
d) Not page centric
e) Above a & b

9. What is the output of the expression $[20% 5)?


a) 5
b) 3
c) 0
d) 20

10.Which of the following are the basic deployment technique? (choose two…

a) Expanded directory format


b) JAR
c) WAR
d) Class
e) Both a & c

11.Which tag provide a generic way to access URL-based resources that can be either included or
processed ?

a) <c:import>
b) <c:url>
c) <c:param>

12. When ServletConfig and ServletContext are created?

a) at the time of application loaded


b) Time of user request
c) When application deployed
d) Both a and b

13. Which security mechanism uses the concept of a realm?


a) Authorization
b) Data integrity
c) Confidentiality
d) Authentication

14. What is the recommended method of deploying into Tomcat?

a) Manually moving the files into a project folder


b) Using a WAR file
c) Editing the servlet.xml file
d) Defending a context

15. Which are the correct about Model 1 Architecture?(choose all that are applicable)

a) Quick and simple


b) Page centric
c) Complex
d) Not page centric
e) Above a & b

16. In servlet the service() throws the following


a) IOException, ServletException
b) HTTPexception
c) ArrayOutOfboundException
d) NullPointerException

17. Which package is used that you have no longer to manage database connection
parameters in your code?
a) Java.sql.DriverManager
b) Org.git.mm.mysql.Driver
c) Javax.sql.DataSource
d) None

18.. Hibernate is used to simplify to interact with the database

a) True
b) False

19.. Which of the following file is a deployment descriptor?


a) WEB_INF
b) Web.xml
c) Jsp-config.sml
d) TLD

20.. The Servlet interface has lifecycle methods the following

a) Init()
b) Service()
c) Destroy()
d) All of the above

21.. Which of the following Layer Architecture keep separate Business Objects form Data Access
Objects?

a) One-Layer Architecture
b) Two-Layer Architecture
c) Three--Layer Architecture
d) All of the above

A.K
1. Which of the following is a server side technology?
A. html
B. Jsp
C. javaScript
D. css
2. How you create various kinds of input elements by JSF
A. <h:inputSecret >
B. <f:inputText>
C. <f:inputTextarea>

3. Which of the following initially handled requests of a JSP page?


A. Proxy server.
B. JSP Container.
C. Web Server

5. Which security mechanism uses the concept of a realm?


A. Authorization
B. Data integrity
C. Confidentiality
D. Authentication
6. Which are correct about Model 1 Architecture-(choose all that are applicable)
A. quick & simple
B. page centric
C. complex
D. Not page centric
E. Above a,b
7. Which of the following are JSP Directives?
A. page
B. include
C. taglib
D. all of the above
8. What is the primary design pattern of JSF?
A. WAP
B. EL
C. MVC
D. UI

10. What is the method of jsp service for HttpJspPage?


A. Void_jspservice(HttpServletRequest, HttpServletResponse)
B. Void _jspservice()
C. Void_jspservice(HttpServletRequest, HttpServletResponse) throws IOException, ServletException

11. Which of the following configuration file controls flows through the application in JSF?
A. web.xml
B. faces-config.xml
C. None
12. To define Faces Servlet on web.xml
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>blank </servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
the value of blank
A. javax.faces.webapp.ext.FacesServlet
B. javax.faces.webapp.FacesServlet
C. javax.faces.webapp.servlet.FacesServlet
13. How can you create drop-down menus,list boxes, radio buttons, and check boxes in JSF by using
A. The HTML Custom Actions
B. The Core Custom Actions.
C. None

15. <%= new java.util.Date()%> is the example of-


A. Declaration
B. EL expression
C. Expression
D. Scriptlet
16. The Internationalisation and Formatting tag library provides actions that allow you to control the - settings for your JSP
pages
A. Date
B. Locale
C. Time
17. Which of the following attributes is used to have uncaught run-time exceptions automatically forwarded to an error
processing page?
A. error
B. errorPage
C. exception
D. exceptionPage
18. Which one is the correct include core jstl library
A. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
B. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
C. <%@ taglib uri="http://java.sun.com/jsf/core" prefix="c" %>
19. Choose the correct answers related to Hibernate? (Choose all are applicable)
A. Hibernate is an object-relational mapping (ORM) library for the Java language
B. Hibernate provides a mapping for object-oriented domain models to a traditional relational database.
C. Hibernate is a database
D. a & b
20. Which of the following configuration files is responsible for Hibernate connection?
A. context.xml
B. hibernate.cfg.xml
C. *.hbm.xml
21. When using servlet, we use log method for
A. Application log
B. web server log
C. jsp log
D. Application server
22. Which of the following files is a deployment descriptor?
A. WEB_INF
B. web.xml
C. jsp-config.xml
D. TLD
23. What do you mean by Filter Chaining?
A. Chaining is the action of passing a request through a single filter.
B. Chaining is the action of passing requests through multiple filters in sequence.
C. None
24. Which is the methods belongs to Servlet?
A. jspInit()
B. jspService()
C. jspDestroy()
D. All of the above
25. When we configure a JavaBean which of the following scopes are required(choose all that are applicable)
A. page
B. request
C. session
D. application
E. all of the above

MILON……………..
1. Which of the following two JAR files is required for JSTL implementation?
A).commons-collections.jar
B).x.tld
C).standard.jar
D).jstl.jar
E).above c,d

2. The <c:if %gt; Actions has a mandatory attribute


A).id
B).var
C).test

3. Which of the following two mechanisms are used to make EJB persistence to the data storage?
A).Container-managed persistence
B).Object-model persistence
C).Bean-managed persistence
D).Both A & C

6. Which of the following are JSF action Tags?


A).<c:choose>
B).<sql:setDataSource>
C).<h:dataTable>
D).<f:selectItem>
E).both C & D

7. In Servlet he service() throws the following


A).IOException,ServletException
B).HTTPexception
C).ArrayOutOfBoundException
D).NullPointerException

9.Evaluate the following JSP script and select the right option----------
1.<%--inside code here--%>
2.
3.
4.Today is: <%= new Date()%>
5.
6.
What needs to go on line 1?
a. <%@ page import =”#{java.util.Date}”%>
b. <%@ import class=”#{java.util.Date}”%>
c. <%@include file=”#{java.util.Date}”%>
d. <%@ include class=”#{java.util.Date}”%>

10. Which of the following are JSTL Action elements?


A).Standar
B).Custom
C).SQL
D).Core
E).Above c, d

11. Which of the following are examples of JSP directive?


A).Include
B).Exclude
C).Import
D).Taglibrary

12. Which two HTTP methods are used to process data in a Servlet?
A).doGet
B).doPut
C).doPost
D).doSubmit
E).both A & C are correct

16. Which of the following Layer Architecture keep separate Business Objects from Data Access Objects?
A).One-Layer Architecture
B).Two-Layer Architecture
C).Three-Layer Architecture
D).All the above

19. Which of the following properties provide an easy facility for internationalising and customising the pages for JSF?
A).JavaBean
B).Tag library.
C).Message Bundles
D).None

22. Which package is used that you have no longer to manage database connection parameters in your code?
A).java.sql.DriverManager
B).org.gjt.mm.mysql.Driver
C).javax.sql.DataSource
D).None

24. What is the output of the expression ${20 % 5}?


A).5
B).3
C).0
D).20

kamal…………………
1.doGet(), doPost(),doHead, doDelete() belongs to what type of servlet?
a.HttpServlets
b.Generic Servlets
c.All of the above
d. None of the above

6. How can you encrypt passwords in Tomcat?


a.by adding digest attribute=†encrypt-password†to a realm definition.
b. by adding digest attribute=
SHA
 to a realm definition.
c.by adding digest attribute=
flush†to a realm definition.
d. None

7. Which of the following technologies is best used when a great deal of programmatic control is required?
a. JSP
b. Servlet
c.JSF
d.None

8. Which method belongs to Servlet?


a.jspInit()
b._jspservice()
c.jspDestroy()
d.All of the above

9. Which of the following configuration file is responsible for Hibernate


connection.?
a. context.xml
b.hibernate.cfg.xml
c.*.hbm.xml

11. Which of the following handles HttpServlet response?


a.doPost()
b.doGet()
c.getPost
d.above a,b

12. When ServletConfig and ServletContext are created?


a. at the time of application loaded
b.Time of user request
c.When application deployed
d.Both a and b

15. Which of the following statements are true regarding RSS Newsreader?
a. RSS is a XML based format.
b.RSS is a text based format.
c. It represents the current news stories available on the website.
d. Both A & C
18. Hibernate is used to simplify to interact with the database
a.True
b. False

19. Which of the following handles a request of jsp?


a.By Application server
b.By Webserver
c.JSP Container

20. Which is the basic deployment folder in the web container of Tomcat?
a.lib
b. WEB-INF
c. wabapps

22. Which of the following are the basic deployment techniques? (Choose two)
a.Expanded directory format
b.JAR
c. WAR
d.Class
e. both A & C are correct

24. Which of the following is a reserved word and so can't be used as an EL


identifier?
a. empty
b.erase
c.error
d.evoke

25. is the example of-


a.Declaration
b.EL expression
c.Expression
d. Scriptlet

1. Which of the implicit variable of JSP pages that may be used to access all the other implicit
objects?
a.context
b.Page
c.pageContext
d. object

2. Which are correct about Model 1 Architecture?


a. Quick & simple
b. complex
c. Not page centric
d.None

3. Which of the following is not an implicit object?


a.request
b.response
c.cookie
d.session

4. The Servlet interface has lifecycle methods the following


a.Init()
b.Service
c.Destroy()
d.all of the above

5.Which of the following handle Http servlet response?


a.doPost()
b.doGet()
c.getPost
d.above a,b

9. Which of the implicit variable of JSP pages that may be used to access all the other implicit objects?
a.context
b.Page
c.pageContext

13. Which of the following attributes are mandatory in tag?


a.id, type
b.type, class
c.id, class
d.type,property

AZME—

3. Which package is used that you have no longer to manage database


connection parameters in your code?
A. java.sql.DriverManager
B. org.gjt.mm.mysql.Driver
C. javax.sql.DataSource
D. None

7. Which of the following are the popular commercial O/R frameworks?


A. Toplink
B. Struts
C. Hibernate
D. Both A & C

10. Imagine that as part of serving a client request, a controlling servlet has caused some business logic to query a database
and retrieve a result set. The data retrieved is then used to populate a collection of objects.
For the above scenario which standard tag we will use?
A. <c:forTokens>
B. <cchoose>
C. <c:forEach>
11. The Servlet interface has licycle methods the following
A. Init()
B. Service
C. Destroy()
D. all of the above
12. Which XML attribute allows us to specify XPath expressions?
A. Transform
B. Allow
C. Select
D. View
13. Which of the following two JAR files required for JSTL implementation?
A. commons-collections.jar
B. x.tld
C. standard.jar
D. jstl.jar
E. above c,d
14. Which is the basic deployment folder in web container of Tomcat?
A. lib
B. WEB-INF
C. wabapps
15. Which of the following ways you can terminate session? (choose two))
A. session.invalidate()
B. session.destroy()
C. session-timeout
D. Both A & C
16. When the web container cannot find a file requested in the web application, it will show the status code.
A. 408
B. 500
C. 404
D. 504

19. How can we count columns of the particular resultset?


A. Metadata()
B. getColumn()
C. get Count()
D. getMetaData()
20. The prefix f: in JSF refers to-
A. HTML elements for the page.
B. Core JSF functionality for the page
C. Input text fields in the form.
D. None
23. What type of error object is thrown from the tag?
A. Java.lang.Exception
B. Java.lang.Throwable
C. Java.lang.Error
D. None

25. What can you do to disable the EL for a single page?


A. <%@ page isELIgnored="false"%
B. <%@ page isELDisabled="true"%>
C. <%@ page isELIgnored="true"%>
D. <%@ page isELEnabled="false" %>

Z O B A E R. . . . . .
1. Choose the correct life cycle phases of JSP?
a. start, runable, not runable and destroy.
b. initializing, servicing and processing and finalization
c. translation, initialization, execution and finalization

2. Which of the following are the data access technology? (Choose two)
a. frameworks
b. JSTL
c. EJB
d. RMI
e. a & c

5. Which of the following technology is best used when a great deal of programmatic control is required?
a.JSP Servlet
b.JSF
c.None

8. Which of the following file is a deployment descriptor?


a.WEB_INF
b.web.xml
c.jsp-config.xml
d.TLD

10. Which of the following is a reserved word and so can't be used as an EL


identifier?
a.empty
b.erase
c.error
d.evoke

11. What is the recommended method of deploying into Tomcat?


a.Manually moving the files into a project folder
b.Using a WAR file
c.Editing the server.xml file
d.Defining a context

12. The XML transformation actions provided by the JSTL are designed to apply
an XSLT stylesheet to an XML document
a.xml is a style doc
b.xslt is main doc
c.xslt is style doc

14. is the example of-


a.Declaration
b.EL expression
c. Expression
d.Scriplet

16. What is the implicit object that is of type HttpSession?


a. Application
b.httpSession
c.httpsession
d.Session

18. How can you encrypt password in Tomcat?


a.by adding digest attribute=â€encrypt-password†to a realm definition.
b.by adding digest attribute=â€SHA†to a realm definition.
c.by adding digest attribute=â€flush†to a realm definition.
d. None

MAMIN

3. When destroy() method of a filter is called?


A. The destroy() method is called only once at the beginning of the life cycle of a filter
B. The destroyer() method is called after the filter has executed
C. The destroy() method is called only once at the end of the life cycle of a filter
D. The destroy() method is called after the filter has executed doFilter method
4. How can we count column of the particular resultset?
A. Metadata()
B. getColumn()
C. get Count()
D. getMetaData()

5. Which of the followings two mechanisms are used to make EJB persistence to the data storage? Container-managed
persistence
a) Container-managed persistence
b) Object-model persistence
c) Bean-managed persistence
d) A &C

6. Which of the following handle HttpServlet response?


A. doPost()
B. doGet()
C. getPost
D. above a,b
7. Which of the following JSP Action tags is used to include the content of another resource?
A. Jsp:plugin
B. Jsp:papam
C. Jsp:include
D. Sp:forward

10. What is the primary job of the action?


A. To configure a data source.
B. To catch exception
C. Formatting tag library
D. None
11. Where you put JSTL lib on the web application?
A. WEB-INF/lib
B. lib
C. root/lib on container home path
12. Which of the following are the popular commercial O/R frameworks?
A. Toplink
B. Struts
C. Hibernate
D. Both A & C

15. Which of the following is a reserved word and so can't be used as an EL identifier?
A. empty
B. erase
C. error
D. evoke
16. Which of the following method would you require in removing a servlet instance permanently from a servlet container?
A. doDelete()
B. destroy()
C. delete()
D. remove()

18. Which of the following handle a request of jsp?


A. By Application server
B. By Webserver
C. JSP Container
19. which one is equal output to The &ltc:out &gt;Action
A. a. ${}
B. b. getmethod of bean
C. c. <%=%>
D. d. Above a & c

21. What is the method of _jspService of HttpJspPage?


A. Void_jspservice(HttpServletRequest, HttpServletResponse)
B. Void _jspservice()
C. Void _jspService(HttpServletRequest, HttpServletResponse) throws IOException, ServletException

23. Which of the followings are JSF action Tags?


A. <c:choose>
B. <sql:setDataSource>
C. <h:dataTable>
D. <f:selectItem>
E. both C & D

Sajjad….

1. Which of the following are JSP Action tags are used for bean
development?
A. jsp:useBean
B. jsp:setProperty
C. jsp:getProperty
D. All of the above

4. Which of the following properties provide an easy facility for internationalizing and customizing the pages for JSF?
A. JavaBean
B. Tag library.
C. Message Bundles
D. None

6. Why do we use Servlet ?


A. Maintainability
B. Reusability
C. core funcnality of all servlets
D. a&b
7. Which of the following JSP Action tags is used to include the content of another resource?
A. Jsp:plugin
B. Jsp:papam
C. Jsp:include
D. Sp:forward

9. What is the method of jspservice of HttpJspPage?


A. Void_jspService(HttpServletRequest, HttpServletResponse)
B. Void_jspService()
C. Void_jspService(HttpServletRequest,HttpServletResponse)throwsIOExceptServletException
10. Which of the followings are JSF action Tags?
A. <c:choose>
B. <sql:setDataSource>
C. <h:dataTable>
D. <f:selectItem>
E. both C & D

12. Where you put JSTL lib on the web application?


A. WEB-INF/lib
B. Lib
C.
D. root/lib on container home path

15. Which of the following handle HttpServlet response?


A. doPost()
B. doGet()
C. getPost
D. above a,b

18. Which of the following is examples of JSP directive?


A. Include
B. Exclude
C. Import
D. Taglibrary
19. Which of the followings two mechanisms are used to make EJB
persistence to the data storage?
A. Container-managed persistence
B. Object-model persistence
C. Bean-managed persistence
D. Both A & C
20. When destroy() method of a filter is called?
A. The destroy() method is called only once at the beginning of the life cycle
B. The destroyer() method is called after the filter has executed
C. The destroy() method is called only once at the end of the life cycle of a filter
D. The destroy() method is called after the filter has executed doFilter method
22. Which of the following initially handled request of a JSP page?
A. Proxy server.
B. JSP Container.
C. Webserver
23. Which of the following two JAR files required for JSTL implement? commons-collections.jar
A. x.tld
B. standard.jar
C. jstl.jar
D. above c,d
24. How can you create drop-down menus,list boxes, radio buttons check boxes in JSF by using
A. The HTML Custom Actions
B. The Core Custom Actions.
C. None
25. Which of the following are javaBean actions property?
A. UseBean
B. SetProperty
C. GetProperty
D. All
Farjana….

3. What is the purpose of DAO pattern?


A. It is used for encapsulating data access
B. IT is used for authentication
C. It is used for caching
D. None
4. Which of the following are Identifying bean Scopes of JSF?
A. Request
B. Session
C. page
D. above a,b

5. Which of the following statement is correct related to JSP?


A. JSP technology is not just an extension of servlet technology
B. JSP engine will translate the contents of the JSP into servlet
C. JSP engine will translate the contents of the JSP into JSTL

7. Which tag provide a generic way to access URL-based resources that can be either included or processed.
A. <c:import>
B. <c:url>
C. <c:param>
8. Which of the following configuration file is responsible for Hibernet connection?
A. context.xml
B. hibernet.cfg.xml
C. *.hbm.xml
9. Which of the following attribute is used to have uncaught run-time exceptions automatically forwarded to an error
processing page?
A. error
B. errorPage
C. exception
D. exceptionPage
10. Which two HTTP methods are used to process from data in a Servlet?
A. doGet
B. doPut
C. doPost
D. doSubmit
E. both A & C are correct

12. config is object of which class?


A. Javax.servlet.Context
B. javax.servlet.ServletContext
C. javax.servlet.ServletConfig
D. javax.servlet.Application
13. What directive do we use to point to the location of the tag file?
A. tag
B. page
C. taglib
D. Tagfile

19. Which of the following JSP Action tags is used to include the content of another resource?
A. Jsp:plugin
B. Jsp:papam
C. Jsp:include
D. Sp:forward
20. Where do you put your JAR file under the WEB-INF folder when the JAR file contains all the custom tags that you
created?
A. WEB-INF\classes
B. WEB-INF\lib
C. WEB-INF\common
D. WEB-INF\tlds
21. Which of the following are the advantages of JavaServer Pages?
A. Reusability
B. Readability
C. Maintainability
D. All of the above

24. Which of the following handle HttpServlet response?


A. doPost()
B. doGet()
C. getPost
D. above a,b
25. What is the main purpose of using EL?
A. To remove XML from JSP pages
B. To remove standard actions from JSP pages
C. To remove complexity from JSP pages

1. Which of the following are the data access technology? (Choose two)
a) frameworks
b) JSTL
c) EJB
d) RMI
e.A & C
2. Which of the following technology is best used when a great deal of programmatic control is required?
a) JSP
b) Servlet
c) JSF
d) None

3. Which are correct about Model 1 Architecture?


a) Quick & simple
b) Complex
c) Not page centric
d) None

5. What do you mean by Filter Chaining?


a ) Chaining is the action of passing request through a single filter.
b) Chaining is the action of passing request through multiple filters in sequence.
c) None

6. `<%-new java.util.Date()%>` is an example of-


a) Declaration
b) EL expression
c) Expression
d) Scriplet

7. Which of the following two JAR files are required for JSTL implementation?
a) commons-collections.jar
b) x.tld
c)standard.jar
d) jstl.jar
d) Both c and d
8. Which of the following files is a deployment descriptor?
a) WEB_INF
b) web.xml
c) jsp-config.xml
d) TLD

9. Which of the implicit variables of JSP pages may be used to access all the other implicit objects?
a) context
b) Page
c) pageContext
d) object

10. Where do you put JSTL lib in the web application?


a) WEB-INF/lib
b) lib
c) root/lib on container home path
d) None of the above

11. When are ServletConfig and ServletContext created?


a) At the time of application loaded
b) Time of user request
c) When application deployed
d) Both a and b

13. `doGet()`, `doPost()`, `doHead()`, `doDelete()` belong to what type of servlet?


a) HttpServlets
b) Generic Servlets
c) All of the above
d) None of the above

14. Which of the following are Identifying bean Scopes of JSF?


a) Request
b) Session
c) Page
d) Both a and b

15. Which two HTTP methods are used to process form data in a Servlet?
a) doGet, doPut
b) doPost
c) doSubmit
d) Both a and c

16. Which one is the correct include core JSTL library?


a) `<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>`
b) `<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>`
c) `<%@ taglib uri="http://java.sun.com/jsf/core" prefix="c" %>`

17. How do you create various kinds of input elements by JSF?


a) `<h:inputSecret>`
b) `<f:inputText>`
c) `<f:inputTextarea>`
d) All of the above

18. Choose the correct answers related to Hibernate? (Choose all that are applicable)
a) Hibernate is an object-relational mapping (ORM) library for the Java language
b) Hibernate provides a mapping for object-oriented domain model to a traditional relation
c) Hibernate is a database
d) a & b

19. How can we count columns of a particular resultset?


a) Metadata()
b) getColumn()
c) getCount()
d) getMetaData()

22. The `<c:forEach>` action is probably one of the most useful actions provided by the JSTL that enables its body content
to be processed a number of times. The `item` attribute is not taking reference of:
a) Array
b) dataSource
c) A string of comma-separated values
d) None of the above
23. What type of programming is JSP?
a) Server
b) Client

24. Which of the following is a server-side technology?


a) html
b) jsp
c) JavaScript
d) CSS

25. Which of the following are the basic deployment techniques? (Choose two)
a) Expand
b) JAR
c) WAR
d) Class
e) both a & c

You might also like