Re: Updating a config(.ini) file in Action class

2006-12-06 Thread chuanjiang lo
On 12/6/06, Venkata Phani Kumar <[EMAIL PROTECTED]> wrote: Hi, You can get any resource path wich is under context path using ServeletContext.getRealPath(). The usage of this method is here, String iniFilePath = request.getSession().getServletContext().getRealPath("test.ini"); y

Re: Updating a config(.ini) file in Action class

2006-12-05 Thread Venkata Phani Kumar
Hi, You can get any resource path wich is under context path using ServeletContext.getRealPath(). The usage of this method is here, String iniFilePath = request.getSession().getServletContext().getRealPath("test.ini"); you can use the 'iniFilePath' to instatiate FileOutStream, and