cancel
Showing results for 
Search instead for 
Did you mean: 

Offline Interactive Form - FileNotFoundException

Former Member
0 Kudos

Hi everyone, i try running this tutorial but i have this error

java.io.FileNotFoundException: C:\TravelRequest.pdf (A file or directory in the path name does not exist.)

I move this file to directory C because I cannot find this path

String fileName =

"temp
webdynpro
web
local
TutWD_UploadDownloadInteractiveForm_Init
Components
com.sap.tut.wd.uploaddownloadinteractiveform.UploadDownloadInteractiveFormComp
TravelRequest.pdf";

So i use

String fileName = "C:
TravelRequest.pdf" but still i have error in my application. Anyone can suggest me what I must do ? Thank you...

Regards,

Satria B

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi satria,

are you working on Nw2004 or on NW2004s?

At runtime the file is searched on the C drive of the server, maybe that's why it is not be found

kind regards

stefanie

Former Member
0 Kudos

Hi guys, this is simple question, please help me. I suspect that the file must be deployed in server, am I correct ? Thank you.

Regards,

Satria