setAnnotationSavePost(String path)

Specifies the location of a server-side object such as CGI, EXE, ASP, or JSP that saves annotations that the viewer created.

Whoever implements the system must supply an object that conforms to the specification for IBM Daeja ViewONE annotations save POST object specification.

If the path parameter specifies a relative address, the location is relative to the codebase of the viewer.

If you are unsure what IBM Daeja ViewONE is sending to the servlet, set the TraceAnnotation parameter to true to enable debug mode. In debug mode, you can find more information in the log files.

The server-side object is called only if the document that is displayed was retrieved through a web server. For example, if a document is retrieved through the file:/// protocol, the servlet is not called when the user presses the annotations save button.

Sample syntax


ViewONE.setAnnotationSavePost("http://www.mysite.com/myAnnotationSaveComponent.jsp");