The jsp page uses the canvas to generate an image of the page, click the problem of flashback, jsp canvas
Recently, I was working on a project and found a problem: I used canvas to combine html pages and watermarks into an image for display. The user pressed the image and saved the image to the mobile phone.
There is no problem with the Android mobile phone. When the IOS Mobile Phone enters the page, it will flash back, And the merged image will disappear instantly, leaving only the watermark.
Solution: this problem is quite difficult. This kind of Android phone is always available on pages recently, and there is a problem with Ios phones. Later, I checked it for half a day. At first I thought it was a problem with image synthesis. Then I tested it myself and it was okay with image synthesis. In the end, it is found that the data imported by the user is too long, causing the image to be squeezed out. Therefore, the image disappears instantly and only the watermark is left.
The final solution is to adjust the page layout. Increase the image height as the data increases. OK.