##GroupDocs.Viewer for Java ####Spring Sample 2.14.0
#####Windows
- Download GroupDocs.Viewer for Java library http://groupdocs.com/java/document-viewer-library
- Install GroupDocs.Viewer for Java library into local maven repository http://groupdocs.com/docs/display/viewerjava/GroupDocs.Viewer+for+Java+-+Installation
- Download sample sources to any directory.
- Open file
src\main\resources\application.properties
and update configuration (for example update groupdocs.viewer.filePath to set the path to the storage folder). - Run file
run.bat
by double click to start sample application. - Open URL
http://127.0.0.1:8080/
in your browser, make sure that port 8080 is free (you can change port number in your tomcat configuration).
#####Linux
- Download GroupDocs.Viewer for Java library http://groupdocs.com/java/document-viewer-library
- Install GroupDocs.Viewer for Java library into local maven repository http://groupdocs.com/docs/display/viewerjava/GroupDocs.Viewer+for+Java+-+Installation
- Download sample sources to any directory.
- Open file
src\main\resources\application.properties
and update configuration (for example update groupdocs.viewer.filePath to set the path to the storage folder). - Run file
run.sh
by double click to start sample application (or from terminal). - Open URL
http://127.0.0.1:8080/
in your browser, make sure that port 8080 is free (you can change port number in your tomcat configuration).
#####MacOS
- Download GroupDocs.Viewer for Java library http://groupdocs.com/java/document-viewer-library
- Install GroupDocs.Viewer for Java library into local maven repository http://groupdocs.com/docs/display/viewerjava/GroupDocs.Viewer+for+Java+-+Installation
- Download sample sources to any directory.
- Open file
src\main\resources\application.properties
and update configuration (for example update groupdocs.viewer.filePath to set the path to the storage folder). - Run file
run.command
by double click to start sample application (or from terminal). - Open URL
http://127.0.0.1:8080/
in your browser, make sure that port 8080 is free (you can change port number in your tomcat configuration).
- Go to http://127.0.0.1:8080/view?file=fileId
- Go to http://127.0.0.1:8080/view?file=path_to_file_from_root_dir
- Go to http://127.0.0.1:8080/view?file=url_to_file
- Go to http://127.0.0.1:8080/view?tokenId=tokenId
A powerful document viewer API that allows you to display over 50 document formats in your Java applications. The viewer can work two ways: by rasterizing documents or by converting them to a combination of SVG, HTML and CSS. Both methods deliver high-fidelity rendering.
Supported file formats include: Microsoft Office, Visio, Project and Outlook documents, PDFs, AutoCAD, image files (TIFF, JPG, BMP, GIF, TIFF, etc.) and more.