This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Applets and the fly likes problem while displaying multipage tiff image in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "problem while displaying multipage tiff image in applet" Watch "problem while displaying multipage tiff image in applet" New topic
Author

problem while displaying multipage tiff image in applet

dhiren sangani
Greenhorn

Joined: May 22, 2007
Posts: 18
Hi,

I have an applet which displays tiff image through JSP.

For multipage tiff image first of all I split the image and store it to local drive.
Then from the JSP calling appplet for each image. My jsp code for the same is as below



when I run the application, it shows the same image one by one instead of displaying each image in sequence.
Code for MyApplet.java is as below.



can anybody tell me what is going wrong ?

thanks in advance
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
What do you mean by "in sequence"? You are creating N applet tags, each showing one particular image. What are you actually trying to do?
dhiren sangani
Greenhorn

Joined: May 22, 2007
Posts: 18
Yes I am creating N applet tag, but at the time of display it does not showing one particular image.
It displays the same image in all tags.
I am passing image path to each applet tag, so applet should display only that particular image denoted by image path.
 
 
subject: problem while displaying multipage tiff image in applet