<select class="col-sm-2 form-control" id="searchPost">
<option value="">请选择</option>
<option th:value="#{post.java.value}" th:text="#{post.java.name}"></option>
<option th:value="#{post.c.value}" th:text="#{post.c.name}"></option>
<option th:value="#{post.oracle.value}" th:text="#{post.oracle.name}"></option>
<option th:value="#{post.test.value}" th:text="#{post.test.name}"></option>
</select>
引用我resources/templates下的.properties文件中的变量。
但是结果却不能正常显示:<option value="??post.java.value_zh_CN??">??post.java.name_zh_CN??</option>