I’m trying to keep both GroupDocs.Annotations and GroupDocs.Viewer on the same project, but I thing that GroupDocs.Viewer classes and another files are base resources to build GroupDocs.Annotations, am I right?
Because I’m having problem on GetHtmlResourcesHandlerServlet when it calls viewerHandler.getHtmlResourcesHandler(). It seems that class com.groupdocs.viewer.handlers.ViewerHandler exists on both libraries:
- On GroupDocs.Viewer, the method getHtmlResourcesHandler has 5 parameters (String, String, Integer, String, HttpServletResponse)
- On GroupDocs.Annotations’ this method has 2 parameters (String, HttpServletResponse)
- When I use GroupDocs.Viewer to open files, but using the ViewerHandler which belongs to GroupDocs.Annotations (passing filePath and request), I got Javascript errors like on image attached on this message
I’m planing to use GroupDocs.Viewer on cases where I have to just show images or documents, and GroupDocs.Annotations where I have to use annotations on documents.
Is there a straightforward way to do it?
Thank you.