• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Need to show list of products with the image and specification on the jsp page

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 !
image_example.png
[Thumbnail for image_example.png]
.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Sheriff
Posts: 67756
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic