Question: Java | Answer them all 1. In a JSP, in order to set a session attribute, you have to use a scriptlet with the session

Java | Answer them all

1. In a JSP, in order to set a session attribute, you have to use a scriptlet with the

session implicit object.

(a)true

(b)false

2. Are the TLD files that support the Java tag libraries text files or binary files?

(a)text

(b)binary

3. In a JSP page, you can use the EL technology without using the JSTL.

(a)true

(b)false

4. In Java EE, all the servlet init params configured in the web.xml using the can be accessed in a JSP by the EL implicit object initParam.

(a)true

(b)false

5. You cannot use the tag to handle the if-else situation in single tag.

(a) true

(b) false

6. In your JSP, suppose you have the following line,

Then the named variable ${book} must be a bean.

(a)true

(b)false

7. Suppose we have an EL expression: $ {"Java" + "Class"} in a JSP. What is the result of this expression?

(a) JavaClass

(b)an error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!