Hi,
Thanks..I went through that forum but i couldn't find much about display tag..
Can u tell me how retrieve field coumn from database and display it without hard coding the propert attribute.
This is my present code.
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:display="urn:jsptld:http://displaytag.sf.net/el" xmlns:c="urn:jsptld:http://java.sun.com/jstl/core">
<jsp:directive.page contentType="text/html; charset=UTF-8" />
<html>
<head>
<link rel="stylesheet" href="../css/displaytag.css" type="text/css" />
<link rel="stylesheet" href="../css/maven-base.css" type="text/css" />
<link rel="stylesheet" href="../css/maven-theme.css" type="text/css" />
<link rel="stylesheet" href="../css/site.css" type="text/css" />
<link rel="stylesheet" href="../css/screen.css" type="text/css" /></head>
<body>
<display:table name="sessionScope.results.rows" class="reportviewer" defaultsort="1" defaultorder="ascending"
pagesize="16" cellspacing="0" decorator="org.displaytag.decorator.TotalTableDecorator">
<display:column property="Banner" title="Banner" group="1"/>
<display:column property="CTR" title="CTR"/>
<display:column property="Convertions" title="Convertions" total="true"/>
<display:column property="Banner" title="ID"/>
</display:table>
</body>
</html>
</jsp:root>