需要在web.xml 中增加配置
- <jsp-config>
- <jsp-property-group>
- <url-pattern>*.jsp</url-pattern>
- <el-ignored>false</el-ignored>
- <page-encoding>utf-8</page-encoding>
- </jsp-property-group>
- <taglib>
- <taglib-uri>/view/conf/farmdoc.tld</taglib-uri>
- <taglib-location>/view/conf/farmdoc.tld</taglib-location>
- </taglib>
- <taglib>
- <taglib-uri>/view/conf/farmtag.tld</taglib-uri>
- <taglib-location>/view/conf/farmtag.tld</taglib-location>
- </taglib>
- <taglib>
- <taglib-uri>/view/conf/wda.tld</taglib-uri>
- <taglib-location>/view/conf/wda.tld</taglib-location>
- </taglib>
- </jsp-config>
位置如下