Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
browser?
1. <!- - some comment - ->
2. <!- - 2 + 2= <%= 2 + 2 %> - ->
3. <%- - some comment - -%>
4. None of the above
declarations?
1. <jsp:useBean id="softDrink" beanName="Drink.ser"
class="com.baboon.interface.Drink" />
2. <jsp:useBean beanName="instructor"
class="com.baboon.users.Instructor" />
3. <jsp:useBean id="card"
class="com.baboon.cardgame.Card" />
4. None of the above
3) If a JSP page overrides the jspInit() method using a
declaration JSP tag, which phase of the JSP page life-cycle
generates the overridden method in the servlet?
1. page translation
2. servlet compilation
3. call jspInit()
4. call _jspService()
4) Which of the following attributes are mandatory within
the <jsp:setProperty> tag?
1. Name
2. Value
3. Id
4. Property
5) Which of the following statements regarding the action
JSP tag is false?
1. Used to declare a JavaBean instance in a JSP page.
2. Used to generate HTML code to embed an applet on a
web page.
3. User-defined actions can be created.
4. Provides translation-time instructions to the JSP
engine.
6) Which of the following is correct syntax to forward the
request to another page?
1. <%! forward page="HelloWorld.jsp"/>
2. <%@ page:forward page="HelloWorld.jsp" %>
3. <jsp:forward jsp="HelloWorld.jsp"/>
4. <jsp:forward page="HelloWorld.jsp"/>