2012年2月17日 星期五

JSTL: format a message with parameter

 

<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<fmt:message key="my.message.key">
<fmt:param value="${the.first.place.holder}"/>
<fmt:param value="${the.second.place.holder}"/>
</fmt:message>

沒有留言:

張貼留言