struts 问题:Attribute class invalid for tag link according to TLD
Attribute class invalid for tag link according to TLD
报了上面的那个错误。我的jsp代码如下:
<%@ page language= "java " pageEncoding= "UTF-8 "%>
<%@ taglib uri= "http://jakarta.apache.org/struts/tags-bean "
prefix= "bean "%>
<%@ taglib uri= "http://jakarta.apache.org/struts/tags-html "
prefix= "html "%>
<%@ taglib uri= "http://jakarta.apache.org/struts/tags-logic "
prefix= "logic "%>
<%@ taglib uri= "/WEB-INF/c.tld " prefix= "c "%>
<%@ taglib uri= "http://struts.apache.org/tags-tiles " prefix= "tiles "%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN ">
<html xmlns= "http://www.w3.org/1999/xhtml ">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title> Home Page </title>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<link rel= "stylesheet " href= "css/mm_spa.css " type= "text/css " />
<style type= "text/css ">
<!--
body {
background-color: #330099;
}
.STYLE2 {color: #FFFFFF}
-->
</style>
</head>
<body background= "img/mm_bg_red.gif ">
<img src= "img/mm_spacer.gif " alt= " " width= "50 " height= "1 "
border= "0 " />
<table border= "0 " cellspacing= "0 " cellpadding= "0 ">
<tr bgcolor= "#220103 ">
<td rowspan= "2 " colspan= "2 " nowrap= "nowrap ">
<img src= "img/mm_spa_photo1.jpg " alt= "Header image " width= "215 "
height= "108 " border= "0 " />
</td>
<td colspan= "2 " height= "55 " nowrap= "nowrap " id= "logo "
valign= "bottom ">
Quality is the only way to survive and prosper
</td>
<td width= "180 " rowspan= "2 ">
<img src= "img/achievo_logo.gif " alt= "header image 2 " width= "180 "
height= "84 " border= "0 " />
</td>
<td width= "11 " rowspan= "2 ">
</td>
</tr>
<tr bgcolor= "#FF9900 ">
<td colspan= "6 ">
<img src= " img/mm_spacer.gif " alt= " " width= "1 " height= "1 "
border= "0 " />
</td>
</tr>
<tr bgcolor= "#FF080E ">