aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • JSP and JSTL Programming
  • What gets printed when the following JSTL code fragment i...
Multiple choice technology programming languages

What gets printed when the following JSTL code fragment is executed? Select the one correct answer. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

  1. <c:set var="item" value="2"/>

  2. <c:if test="${var==1}" var="result" scope="session">
  3. <c:out value="${result}"/>
  4. </c:if>

Reveal answer Fill a bubble to check yourself
D Correct answer

Keep practicing — related questions

  • Which number gets printed when the following JSTL code fragment is executed? Select the one correct answers...
  • Which numbers gets printed when the following JSTL code fragment is executed? Select the two correct answer...
  • Which numbers gets printed when the following JSTL code fragment is executed? Select the two correct answer...
  • What gets printed when the following JSTL code fragment is executed? Select the one correct answer. <%@ tag...
  • How many numbers gets printed when the following JSTL code fragment is executed? Select the one correct ans...
  • How many numbers are printed, when the following JSTL code fragment is executed? Select the one correct ans...
  • The JSTL code does not compile as attribute for if tag are not correct.
  • Which JSTL tag should be used to create a new URL reference in a jsp?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Enterprise and Web Technologies (2183 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy