出错信息:
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: File "/struts-html " not found
我的web.xml
<jsp-config>
<taglib>
<taglib-uri> /struts-html </taglib-uri>
<taglib-location> /WEB-INF/struts-html.tld </taglib-location>
</taglib>
</jsp-config> (之前没有jsp-config,直接不认)
jsp中
<%@ page language= "java " pageEncoding= "ISO-8859-1 "%>
<%@ taglib uri= "/struts-html " prefix= "html "%>
<html> .....
是用myeclipse建的,加载了struts,结果老出错,弄了1天弄不好,帮忙啊
------解决方案--------------------
你用的是STRUTS哪个版本啊?如果是1.2以上的话不需要在WEB。XML加载标签库。页面里这样引用
<%@ taglib uri= "http://struts.apache.org/tags-bean " prefix= "bean " %>
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317