Search Header Logo

JSTL and EL

Authored by NOR AZIZAH SA'ADON

Computers

University

Used 12+ times

JSTL and EL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<%@ taglib prefix="c" uri=http://java.sun.com/jsp/jstl/core%> is used to define ____________ JSTL tags.

XML

core

formatting

datasource

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JSTL core tags support all of the below, except:

conditional

iteration

url fowarding

sql manipulation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<c:out> is similar to ____________.

<%! %>

<%= %>

<% %>

None of the above.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to include a JSTL library in a JSP file?

<%@ page contentType="text/html" language="java"%>

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

<script src="jstl.js"></script>

<link rel="stylesheet" href="jstl.css">

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JSTL tag is used to iterate over a collection?

<c:forEach>

<c:if>

<c:choose>

<c:import>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of <c:if> tag?

It is used to check if jsp tag library is enabled or not.

It evaluates an expression and displays its body content only if the expression evaluates to true.

Both of the above.

None of the above.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JSTL tag is used to include another JSP file?

<c:include>

<c:forEach>

<c:if>

<c:choose>

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?