I have this index.jsp file and it gives the following error when I try to view it in the Browser.
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html>
<head>
<title>Sample
Struts Application</title>
</head>
<body>
<html:form action="Name" name="nameForm" type="example.NameForm">
<table width="80%" border="0">
<tr>
<td>Name:</td>
<td><html:text property="name" /></td>
</tr>
<tr>
<td><html:submit /></td>
</tr>
</table>
</html:form>
</body>
</html>
org.apache.jasper.compiler.CompileException: /index.jsp(7,3) Attribute type invalid according to the specified TLD
at org.apache.jasper.compiler.TagBeginGenerator.validate(TagBeginGenerator.java:180)
at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:129)