Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Marshal
Posts: 67418
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • 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.
 
    Bookmark Topic Watch Topic
  • New Topic