Jsp where to keep our own config files

2003-10-22 Thread S Senthil Raja
sir, Actually my jsp pages are under /webapps/Raja directory, I want to refer one config file called conf.properties my question is where I have to keep this file so that it is visible to my jsp, How I have to specify the config file path, whether I have to give full path like C:\Program

Jsp where to keep our own config files

2003-10-22 Thread S Senthil Raja
sir, Actually my jsp pages are under /webapps/Raja directory, I want to refer one config file called conf.properties my question is where I have to keep this file so that it is visible to my jsp, How I have to specify the config file path, whether I have to give full path like C:\Program

Re: Jsp where to keep our own config files

2003-10-22 Thread Prasanth Ramachandran
You can keep your config files in your webapp root or any subdirectory in that. Use application.getRealPath() to get the full path of the webapp root. -Prasanth [EMAIL PROTECTED] wrote: sir, Actually my jsp pages are under /webapps/Raja directory, I want to refer one config file called