Skip to Content
0
Former Member
Feb 02, 2007 at 09:16 AM

Read file from mimes of webdynpro local development application

59 Views

Hi,

I have placed a txt file in the mimies folder of webdynpro local development

path is

C:\Documents and Settings\Administrator\.dtc\LocalDevelopment\DCs\sap.com\register\_comp\src\mimes\Components\com.sss.regionalmanagerapprovalform.RegionalManagerApprovalForm\a.txt

I want to read the content of this file to my application.

so i wrote the code as,

FileInputstream in=new FileInputstream(""temp
webdynpro
web
local
sample
Components
com.sss.sample.Sample
com.sss.regionalmanagerapprovalform.RegionalManagerApprovalForm
a.txt");

int t=in.read();

but it throws file not found exception

What is the reason....?......plz help.

Please send me the code for reading the file from mimes.

Thanks in advance,

shami.