+ -
当前位置:首页 → 问答吧 → <tagLib name="html" />报错如何解决?

<tagLib name="html" />报错如何解决?

时间:2011-09-02

来源:互联网

<include file="Public:header" />
<tagLib name="html" />

这样加入标签库后,提示

( ! ) Parse error: syntax error, unexpected '<', expecting T_VARIABLE or '$' in D:\BG\wamp\www\xxx\Runtime\Cache\Home\1876bb7726cdc526fffe4ae61226ffb3.php on line 7


然后把标签库引入放到 header里的最前面,也就是页面的最开始,不报错,但是 后面的<html:select 这样的标签,还是不能被解析,请问是什么原因造成的。

谢谢!

作者: beecee   发布时间: 2011-09-02

解决了,变量传入错误造成的,不好意思。。。。

作者: beecee   发布时间: 2011-09-02

热门下载

更多