Ulf Dittmer wrote:Which sites have you visited? Which libraries have you chosen? Most of their respective sites should have enough documentation and example code to get you going. Just saying "I don't know how to proceed" isn't going to let us help you. Did what I said in my last post make any sense at all to you? If so, what *did* you understand?
Ulf Dittmer wrote:You will need to select one or more of those libraries depending on which file formats you plan to support. Not all of the libraries support all formats. Then you use those libraries to extract those images that you wish to show as preview (for starters, maybe always use the first image).
Ulf Dittmer wrote:There are numerous libraries that can read video formats (see https://coderanch.com/how-to/java/OtherOpenSourceProjectsFaq for links to many of them). You can use those to extract images (maybe the first one) for display purposes.
Bear Bibeault wrote:I removed the copyright notice from your servlet code because it was making the page too wide. Please take care when posting code to make sure that lines break in a reasonable width.
And, why are you putting a Sun copyright on your code?![]()
Bear Bibeault wrote:
J Das wrote:
Bear Bibeault wrote:You'll ned to write some code to resize the image to create the thumbnail.
That has nothing whatsoever to do with JSP, so this post has moved to a more appropriate location.
So where do i need to write those code ??
Code never goes in a JSP. Never. Ever.
Ever.