Home » JSTL Core c:set Tag

JSTL Core c:set Tag

by Online Tutorials Library

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

You may also like