File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes display bean to a page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "display bean to a page" Watch "display bean to a page" New topic

display bean to a page

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 251

i have a javabean

example client

i do a query to a database like
select * from client where client_id < 10

database find some record
i add this recort to my javabean client and add this bean to a list

now on my jsp page, i would like to display everybean bean who are in the list

any idea?

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

JSTL's <c:forEach>
I'll let you figure out the code
[ March 16, 2006: Message edited by: Satou kurinosuke ]

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: display bean to a page
It's not a secret anymore!