Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By gimbal2

Thread: Generating Thumbnails in JSP Servlet

  1. #1
    dhiman.anurag is offline Member
    Join Date
    Jul 2013
    Posts
    1
    Rep Power
    0

    Default Generating Thumbnails in JSP Servlet

    Hello..I need Some Idea!!
    I have a jsp page for file uploading (any type). There is a search option, if I am searching the uploaded file the name of the file is displayed. Now I wanted to display the thumbnail of that uploaded file.
    Please give me some idea how can I do it?

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,758
    Rep Power
    5

    Default Re: Generating Thumbnails in JSP Servlet

    What type of file? If it is a gif, PNG or JPG image you can use the html img tag to display a scaled down version of it, but if it is any other type of file you probably can't even do it.

    Note that these kind of things never have anything to do with JSPs or Java programming; you have to look for solutions in the area of HTML and sometimes javascript. If you focus your search more there perhaps you'll have more success of finding something that you can apply.
    dhiman.anurag likes this.

Similar Threads

  1. Replies: 0
    Last Post: 06-28-2013, 07:41 AM
  2. Excel generating from servlet
    By adeep in forum Advanced Java
    Replies: 1
    Last Post: 10-16-2009, 04:51 PM
  3. Replies: 1
    Last Post: 12-02-2008, 12:23 AM
  4. Generating PDF from XML with servlet
    By Preethi in forum Advanced Java
    Replies: 2
    Last Post: 10-30-2008, 05:50 PM
  5. Replies: 1
    Last Post: 08-07-2007, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •