Javatpoint Logo
Javatpoint Logo

JSTL Core <c:set> Tag

It is used to set the result of an expression evaluated in a 'scope'. The <c:set> tag is helpful because it evaluates the expression and use the result to set a value of java.util.Map or JavaBean.

This tag is similar to jsp:setProperty action tag.

Let's see the simple example of <c:set> tag:

Output:

JSTL Core Tags2



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA