Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsp 如何在jstl中动态形成bundle名称_Jsp_Jstl - Fatal编程技术网

Jsp 如何在jstl中动态形成bundle名称

Jsp 如何在jstl中动态形成bundle名称,jsp,jstl,Jsp,Jstl,我正在尝试使用jstl加载属性文件。但基本名称将动态形成。 我在动态创建基名称时遇到了一个问题 我的部分基本名称将出现在会话对象中的pojo中。 这是我的密码。我的属性文件的位置是“WEB-INF/properties/dynamicname/” 它给出了一个错误“Unterminated” 它给出了一个未终止的错误 <fmt:setBundle basename="properties/<c:out value="${userProfileSessObject.getAppDo

我正在尝试使用jstl加载属性文件。但基本名称将动态形成。 我在动态创建基名称时遇到了一个问题

我的部分基本名称将出现在会话对象中的pojo中。 这是我的密码。我的属性文件的位置是“WEB-INF/properties/dynamicname/”


它给出了一个错误“Unterminated” 它给出了一个未终止的错误

<fmt:setBundle basename="properties/<c:out value="${userProfileSessObject.getAppDomain()}"/>.message" />
<fmt:setBundle 
         basename="properties/${userProfileSessObject.getAppDomain()}.message" />
<fmt:setBundle 
         basename="properties/${userProfileSessObject.appDomain}.message" />