Forum Stats

  • 3,853,853 Users
  • 2,264,287 Discussions
  • 7,905,483 Comments

Discussions

How to download a file uploaded in the portal admin console

653189
653189 Member Posts: 101
edited Sep 19, 2008 10:26AM in WebLogic Portal
Hi All ,

I have created a content using admin console.
It has a property called , "file", and it is of type "Binary".and its primary property

I need to have link in JSP , to download that file/content.
I am using <templates tag , but not able to download.

Could you pls suggest how to download a file uploaded to admin console

Thanks & Regards,
Srinivas

Answers

  • 648793
    648793 Member Posts: 96
    Srinivas,

    Check the WLP API http://e-docs.bea.com/wlp/docs102/javadoc/index.html?overview-summary.html
    Search for com.bea.content.manager.servlets.ShowBinaryServlet class and com.bea.content.manager.servlets.DownloadBinaryServlet class. You can use one of these depending on your requirment. I think there is not jsp tag for these classes so you have to use scriptlets.
This discussion has been closed.