I have changed the index.jsp as the example you gave me in the post 'http://groupdocs.com/Community/forums/addpost.aspx?PostID=2218',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
<%=(String)request.getAttribute("viewer_head")%>
<%=(String)request.getAttribute("viewerScript")%>