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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.