cancel
Showing results for 
Search instead for 
Did you mean: 

Download file from j2ee server

Former Member
0 Kudos

Hi,

Our requirement is as follows:

I want to put a file(PDF or Word) in j2ee server.

How can we download the file from server by WD java??

Thanks,

Anumit

Accepted Solutions (1)

Accepted Solutions (1)

Abhinav_Sharma
Contributor
0 Kudos

Hello Anumit

You can upload/download file using FileUpload/FileDownload UI element. It should be bind to attribute of type Iresource.

Refer following articles for more details

[Re-creating the File Object from WebDynPro FileUpload UI control |http://wiki.sdn.sap.com/wiki/display/WDJava/Re-creatingtheFileObjectfromWebDynProFileUploadUIcontrol]

[Uploading and Downloading Files in Web Dynpro Java|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f]

Hope it wil help you.

Abhinav

Answers (0)