CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

JSp tag.
Data: <% = new java util.data ()%> is _____________.

A
Declaration tag
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Expression tag
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Script tag
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B Expression tag

JSp tag. Data: <% = new java util.data ()%> is Expression tag

Expression tag is one of the scripting elements in JSP. converts into a value in the form of string object and insert into the implicit output object. JSP Scripting Elements :Scriptlet, expression, declaration. There are three Scripting Elements. 1. Expressions of the form <%= expression %> that are evaluated and inserted into the output, A JSP expression is used to insert Java values directly into the output.

JSP Expression Tag prints the results of the program. ... JSP expression tag is mainly used for printing the values of variables and methods. The JSP Expression tag transforms the code into an expression statement that converts into a value in the form of string object and insert into the implicit output object.

JSP - Expression Language (EL) Advertisements. JSP Expression Language (EL) makes it possible to easily access application data stored in JavaBeans components. JSP EL allows you to create expressions both (a) arithmetic and (b) logical.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Database Structuring
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon