Simple JSP Front End example for GroupDocs.Viewer for Java users

GroupDocs Annotation logo We are excited to announce a simple front-end for GroupDocs.Viewer for Java API so newbies can start using it quickly, instead of learning the rich features and complexities provided in GroupDocs.Viewer for Java using Struts2 or GroupDocs.Viewer for Java Using Servlets.

Simplicity comes with many advantages and disadvantages. JSP front-end is a minimum implementation and demonstrates how simple it is to get started with GroupDocs.Viewer for Java. This removes features some useful features, like the user cannot download the document, cannot print, zoom, etc. It just renders the document into HTML, SVG and CSS to make them display on the browser.

JSP-based Front-end

The application contains single JSP page, that creates a UI, and a Java class which is a wrapper for GroupDocs.Viewer for Java API. The following features have been removed:

  • Thumbnails
  • Page Zooming
  • Document Downloading
  • Document Printing
  • File Browser
  • Watermark
  • Ajax-based Document Navigation

Supported Formats

Widely used document formats for viewer are Word Document Formats (DOC, DOCM, DOCX, DOT, DOTX, DOTM), Excel Document Formats (XLS, XLSX, XLSM, XLSB), Presentation Document Formats (PPT, PPTX, PPS, PPSX), and Portable Document Formats (PDF) documents.

Pre-requisites

In order to run GroupDocs.Viewer for Java JSP Front-end you’ll need:

Running the application

Following steps should be followed in order to run GroupDocs.Viewer for Java JSP Front-end:
  • Navigate to the project directory
  • Copy your desired file to storage folder
  • Set the filename in index.jsp
  • Using command prompt and run mvn jetty:run command.
  • Navigate to http://localhost:8080/ in your web browser.

Available Channels and Resources

Find more channels and resources to download, learn, try and get technical support on GroupDocs.Viewer for Java:

Feedback

As always, you are welcome to share your feedback to improve this product. We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.