关于org.apache.jasper.JasperException: No tag "autocompleter" defined in tag library imported with prefix="s"的解决办法

技术背景:

我用的是struts2.2.3

相关源码:

<%@taglib uri="/struts-tags" prefix="s" %> 

<s:autocompleter name="province" label="请选择省份" list="%{#request.provinceList}"/> 

相关错误信息:

org.apache.jasper.JasperException: /formTag.jsp(83,5) No tag "autocompleter" defined in tag library imported with prefix "s"

解决办法:

导入 struts-dojo-plugin.x.x.x.jar

在页面上添加 <%@ taglib prefix="sd" uri="/struts-dojo-tags" %> 

修改以上源码为 

  <sd:autocompleter name="province" label="请选择省份" list="%{#request.provinceList}"/>    

问题解决。 

posted on 2011-08-02 13:13  大凡不诛仙  阅读(903)  评论(0编辑  收藏  举报

导航