Multiple choice technology architecture

Syntax of Scriptlet Element

  1. <% code %>

  2. <@jsp code %>

  3. <jsp: scriptlet code />

  4. <%jsp code %>

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A JSP scriptlet is used to insert Java code into a JSP page and is enclosed within &lt;% and %&gt; delimiters. Other options like &lt;@jsp code %&gt; or &lt;%jsp code %&gt; are syntactically invalid, and `` is the XML equivalent but not styled as shown in the distractors.