Free Support Forum -

More questions about how can I CroupDocs.Viewer window to view the document in the browser?

I have changed the index.jsp as the example you gave me in the post '',but when I click the link,the viewer can't be opened.
The index.jsp source was posted as follows:
Document : index
Created on : Feb 13, 2014, 3:35:58 PM
Author : Alex Bobkov
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
GroupDocs.Viewer for Java Sample
Click me to view



We are sorry to hear that you have such issue. We created live demo sample for you here - . Please check it’s HTML code for how to. Pay attention for the “Click to view” link code especially at “href” parameter. As you can see this sample shows how to use “file” parameter which we describe in the previous thread. This parameter's value should be a file name which will be shown in the viewer.

If you will have more questions please feel free to contact us.