Skip to Content
Former Member
Jul 15, 2005 at 09:08 AM

Read a file inside our par file


Hello everyone,

we have created a PAR file and deployed it to the portal successfully. Inside the service we are reading a file named which is accessed via an absolute path on the file system.

We have now placed the inside the PAR file but are not quite sure how to access it.


We use a simple File class to access the file. Since we do not have a ServletContext or anything similar how do we read this file inside the PAR or how do we get a path where the file resides?

Points WILL be rewarded. Thank a lot in advance.