Hi Andrew; http://www.wso2.net/kb/98
Andrew B wrote: > Hi, > > I need to access files (property files and such) within the .aar, in a > deployed Axis2 service. (in a subdirectory of the .aar file root). > > I have tried this so far: > > String path = incomingContext.getConfigurationContext().getRealPath( > ... ).getAbsolutePath(); > > but it gives an erronous path back. Any ideas on how to do this? And > then once I've got the path, can I just read a file in a packaged > deployment? > > Thanks, > > Andrew > > ------------------------------------------------------------------------ > How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call > rates. > <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
