<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> 把這幾行刪掉,或改為:
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> 把這幾行刪掉,或改為:
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> 把這幾行刪掉,或改為:
<%@taglib prefix="s" uri="/struts-tags" %>
<html:html lang="true">
<html:base />
这些都是struts1中的标签,要用struts2的标签写
很明显,你用的是struts2,却错用了struts1 的东西写页面
============================
!!!!!!!!!!!!!!!!!!
哈哈,你是老大的徒弟吗?
看看基础的文章<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<s:form action="testAction">
</s:form>
</html>