cancel
Showing results for 
Search instead for 
Did you mean: 

Open Local File in Dynpro

nikhil_bose
Active Contributor
0 Kudos

hi folks,

Can anybody tell how can I access/open a local file in the client machine ?

regards,

nikhil

Accepted Solutions (0)

Answers (2)

Answers (2)

nikhil_bose
Active Contributor
0 Kudos

Dynpro doesn't support JavaScript. So can't access to client file without FileUpload UI.

You can pick file from server

Create a folder in the server and access it using java.io.File class.

thanks ayyapparaj, thanks all

Former Member
0 Kudos

Hi,

As webdynpro doesnot support java script , you wont be able to access the client file with out making a round trip.

You have to use the fileupload and then do the processing at the server and send back.

Regards

Ayyapparaj

nikhil_bose
Active Contributor
0 Kudos

so i have to maintain that file in J2EE server itself ? tell me more on how to achieve this ?

snehal_kendre
Active Contributor
0 Kudos

Hi Nikhil,

You can use a fileupload UI element to upload file form the computer where your application is running. Do some coding to convert file into proper format..