Reg GroupDocs.Viewer Java Library API to take Tiff/PDF InputStream as input and returns html page as stream

Hi,
I am looking for the GroupDocs.Viewer Java Library API to integrate with my application for the below scenario.
I need to pass Tiff/PDF document InputStream to GroupDocs.Viewer API and expecting the either the response renders with the corresponding html page viewer or expecting the return value as html page input stream.
But i am unable to find such API in GroupDocs.Viewer java library to integrate with my application.
Please let me know which method in ViewerHandler is suitable in this scenario.
Thanks & Regards
Vijay

Hi,

Resolved out of the forum.

Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+.

Hi Evgen,
I am getting the below issue in my spring config.xml when i included mvc:annotation-driven and mvc-resources and spa:property-placeholder-annotations as per groupdocs.viewer guidelines to make sure ApplicationConfig gets autowired.
Referenced file contains errors (GitHub - rgladwell/spring-property-annotations: Annotated configuration properties for your Spring 2.5.x components.). For more information, right click on the message in the Problems View and select “Show Details…”
Below is my config.xml how schemas got included.
Referenced file contains errors (GitHub - rgladwell/spring-property-annotations: Annotated configuration properties for your Spring 2.5.x components.). For more information, right click on the message in the Problems View and select “Show Details…”

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns=“Index of /schema/beans” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:mvc=“Index of /schema/mvc” xmlns:spa=“GitHub - rgladwell/spring-property-annotations: Annotated configuration properties for your Spring 2.5.x components.” xmlns:context=“Index of /schema/context” xmlns:tx=“Index of /schema/tx
xmlns:ehcache=“http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring” xmlns:task=“Index of /schema/task” xmlns:aop=“Index of /schema/aop” xsi:schemaLocation=“Index of /schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd Index of /schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd Index of /schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring/ehcache-spring-1.1.xsd Index of /schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd Index of /schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd GitHub - rgladwell/spring-property-annotations: Annotated configuration properties for your Spring 2.5.x components. GitHub - rgladwell/spring-property-annotations: Annotated configuration properties for your Spring 2.5.x components. Index of /schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd”> <aop:aspectj-autoproxy /> <context:component-scan base-package=“com.groupdocs”/>
<mvc:annotation-driven /> <mvc:resources mapping=“/assets/**” location=“classpath:/assets/” /> <spa:property-placeholder-annotations location=“classpath:application.properties” />

Hello ,

Thank you for your inquiry.

We have checked your scenario and found out that you missed some configuration, could you please try to add such code to your config.xml:


Also you can check how configured our spring sample here .

Best regards
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+