Is it possible to download a file from a JSR 168 portlet ?

Solution Unverified - Updated -

Issue

  • Is it possible to download a file, example PDF, from a JSR 168 based portlet? Please provide some information on a facility for users to download the file? Ideally they should be available without the file having to be physically saved in the EPP server.
    Done some research and have found that serverResource() method appears to be the way to go, but this does not seem to be available for JSR 168 portlets.

Environment

  • Red Hat JBoss Portal (EPP)
    • 5.2.1
  • JSR 168 complaint portlets

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content