You are not logged in.

#1 2016-01-06 11:26:42

Muhammad
User RankUser RankUser RankUser RankUser RankUser Rank
بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ
From: Sahiwal Division
Registered: 2012-03-22
Posts: 22,197
Website

What is the use of <c:set > tag?

Java Quizzes JSP (Java Server Pages)

Question:
What is the use of <c:set > tag?

Option A):
It can be used to iterate list of elements.
Option B):
It evaluates an expression and uses the results to set a value of a JavaBean.
Option C):
It can save values to database.
Option D):
None of these

Correct Answer is Option B):
It evaluates an expression and uses the results to set a value of a JavaBean.

Explanation:
The <c:set > tag is JSTL-friendly version of the setProperty action. The tag is helpful because it evaluates an expression and uses the results to set a value of a JavaBean or a java.util.Map object.


Online Web Tutorials And Interview Questions With Answers Forum:
https://globalguideline.com/forum/

2016-01-06 11:26:42

Advertisement
Ads By Google

Re: What is the use of <c:set > tag?



\n

Board footer