JSP : JSTL's tag

后端 未结 5 890
迷失自我
迷失自我 2020-11-29 16:22

Writing a JSP page, what exactly does the do? I\'ve noticed that the following both has the same result:

The person\'s na

5条回答
  •  北荒
    北荒 (楼主)
    2020-11-29 16:32

    c:out also has an attribute for assigning a default value if the value of person.name happens to be null.

    Source: out (TLDDoc Generated Documentation)

提交回复
热议问题