Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use JSP for saving Zoomify Annotations?

Annotations JSP Saving Zoomify
0
10 Posted

How can I use JSP for saving Zoomify Annotations?

0
10

Saving Zoomify Annotations using JSP requires the same general steps as using the example ASP page included with Zoomify Enterprise. For this reason, porting the example ASP to JSP should present no significant challenges. However, saving annotations from Flash via a JSP page will differ in some respects. With respect to those differences, the following notes may be helpful: 1. Flash doesn’t need “returnToFlash” before key/value pairs in the response – though Adobe examples do include this. That is, the following is not required: out.println(“returnToFlash = %22serverResponse=saveSuccessful%22”); 2. The content type of the response should be set as “text/plain”. 3. For as yet unidentified reasons, JSP page directives to import other JSP pages confuse Flash. Example JSP page for returning a response from JSP: <%response.setContentType("text/plain"); String sUpdateFlag = (String) session.getAttribute("preferences_updated_flag"); if (sUpdateFlag != null && sUpdateFlag.equals("true")) { ou

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123