| Author |
Need to show list of products with the image and specification on the jsp page
|
Shikhar Vasisht
Greenhorn
Joined: Jul 24, 2011
Posts: 9
|
|
Hi,
I have a requirement of showing a list of products with the image and specification on the jsp page. I will use pagination to show 10 products per page.
My problem is that i dnt know how to display images. In the backend i am willing to upload image and specification in database table and at the run time i want them to be displayed on the jsp page.
I have attached one image file which will show how i want the image and specification of the products on the jsp page.
Please guide.
Thnaks !
|
| Filename |
image_example.png |
Download
|
| Description |
. |
| Filesize |
187 Kbytes
|
| Downloaded: |
8 time(s) |
|
 |
Jagadeeswara Yaramala
Ranch Hand
Joined: Jul 28, 2010
Posts: 46
|
|
My problem is that i dnt know how to display images
If image display on the jsp page is a problem, this link should help.
If pagination to display 10 items per page is the problem, then build pagination with the proper "href" tags giving query parameters. Also, you can explore more on pagination on this help link.
HTH
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50691
|
|
Except, of course, that Java scriptlets should never be used on modern JSP pages.
The first thing to do, is to write the HTML and CSS (and possible any JavaScript) that makes the page looks like you want it to. Only then are you ready to tr=urn it into a JSP that provides the dynamic portions of the page via the JSTL and EL.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Need to show list of products with the image and specification on the jsp page
|
|
|