dynabeans

Am new to dynabeans.. Can anyone tell me how to use dynabeans in jsp. Am using Display tag to display all the values from database dynamically. Can anyone tell me how to retieve that without using bean.
[209 byte] By [shruthi04a] at [2007-10-3 0:44:09]
# 1
Try the following forum (about JSP technology) http://forum.java.sun.com/forum.jspa?forumID=45
UncleSAMa at 2007-7-14 17:38:41 > top of Java-index,Desktop,Developing for the Desktop...
# 2

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>

shruthi04a at 2007-7-14 17:38:41 > top of Java-index,Desktop,Developing for the Desktop...
# 3
JavaBeans is not Beans on JSP.You should read JSP specification, because JavaBeans specification does not contain any information about JSP, EJB and NetBeans.You should ask your question in the JSP forum.
UncleSAMa at 2007-7-14 17:38:41 > top of Java-index,Desktop,Developing for the Desktop...
# 4
Oh ok.. Thank you
shruthi04a at 2007-7-14 17:38:41 > top of Java-index,Desktop,Developing for the Desktop...