hi, i need some idea. i hava a database with a table. that table contain two columns,name and picture(gif). the table is updated daily i.e it contains 'n' number of pictures. i have to display these pictures in a jsp. but i have a condition that at a time i display 4 pictures. so i have to keep page number in the bottom of the page(that is dynamically created according to number of pictures)to display all the pictures. so how i will do. please give some idea. thank you.