File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Shikhar Vasisht
Greenhorn
Posts: 9
  • 0
  • 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]
 
Jagadeeswara Yaramala
Ranch Hand
Posts: 46
  • 0
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic