Revision 4708
Added by daigle over 15 years ago
SearchServlet.java | ||
---|---|---|
124 | 124 |
dirPath = context.getRealPath(CONFIG_DIR); |
125 | 125 |
|
126 | 126 |
try { |
127 |
PropertyService.getInstance(dirPath);
|
|
127 |
PropertyService.getInstance(); |
|
128 | 128 |
this.contextString = PropertyService.getProperty("application.context"); |
129 | 129 |
} catch (ServiceException se) { |
130 | 130 |
System.err.println("Error in loading properties: " + se.getMessage()); |
Also available in: Unified diff
Remove the configuration directory from the PropertyService constructor