dcsimg
reports in jsp
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Venkat_Prabhu
Posted On:   Tuesday, January 17, 2006 08:37 AM


How to Display the DataBase Data's in form of tables (like reports) in JSP. plz send with sample code

Re: reports in jsp

Posted By:   elayaraja_david  
Posted On:   Friday, January 20, 2006 12:45 AM

It is simple .. see the following code segment

<%

! jsp variable declarations

....

Resultset rs = null ;

%>



<%
//jdbc connection blah blah blah here...

....

....

rs = stmt.getResultSet(sql);

%>






<% while(rs.next()) { %>







<% } %>

Heading1Heading2Heading3Heading4
rs.getString(1)rs.getString(2)rs.getString(3)rs.getString(4)






Regards,

Elaya
About | Sitemap | Contact