首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

小弟我的jsp代码出现这样的异常

2012-04-03 
我的jsp代码出现这样的错误错误提示:Multiple annotations found at this line:- Attribute value () n

我的jsp代码出现这样的错误
错误提示:
Multiple annotations found at this line:
- Attribute value (<">) not 
closed.
- Start tag (<option>) not 
closed.

HTML code
<option value="=" selected> 等于</option><option value="<">小于</option> <!--就是上面这行--><option value="LIKE">LIKE</option><option value="ALL">ALL</option>


[解决办法]
<option value="<">小于</option> 

对于html中的特殊符号,当值使用时需要使用HTML原始码:
HTML 原始码 显示结果 描述
&lt; < 小於号或显示标记
&gt; > 大於号或显示标记

热点排行