html 有这个标签吗<#if ></#if>_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:48:08
Original
4623 people have browsed it

最近在看jforum的源码,看到他的html文件中用了大量的#if>,可是在myeclipse下都报错了,求各位帮忙解答一下

<tr>		<td class="row1" width="38%"><span class="gen">${I18n.getMessage("Groups.Form.GroupName")}</span></td>		<td class="row2"><input type="text" name="group_name" value="<#if group?exists>${group.name}</#if>" /></td>	</tr>
Copy after login

下边是报错提示
Multiple annotations found at this line:	- Invalid character used in text string (<#if group?exists>${group.name}</	 #if>" />).	- Start tag (<input>) not closed.
Copy after login


回复讨论(解决方案)

使用了freemarker组件了。

我也刚碰到了这个问题,是不是要安装freemarker组件

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!