Estou com problemas para usaro o displaytag, eu já havia utilizado em outro projeto a alguns anos atraz, mas agora estou apanhando pra fazer funcionar. Tentei um exemplo bem basico e não funcionou. Segue:
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<%
List teste = new ArrayList(4);
teste.add ("Test String 1");
teste.add ("Test String 2");
teste.add ("Test String 3");
teste.add ("Test String 4");
request.setAttribute ("teste", teste);
%>
<display:table name="teste" />
</body>
</html>
Já coloquei no classpath os jars necessarios:
* commons-logging.jar
* commons-lang.jar (versão 2.0)
* commons-collections.jar
* commons-beanutils.jar
* log4j.jar
* displaytag-1.2.jar
Mas não me aparece nada na tela. Onde estou errando?