Revision 4189
Added by daigle over 16 years ago
src/edu/ucsb/nceas/metacat/util/SystemUtil.java | ||
---|---|---|
142 | 142 |
* @return string holding the server URL |
143 | 143 |
*/ |
144 | 144 |
public static String getCGI_URL() throws PropertyNotFoundException{ |
145 |
return getServerURL() + FileUtil.getFS()
|
|
145 |
return getContextURL()
|
|
146 | 146 |
+ PropertyService.getProperty("application.cgiDir"); |
147 | 147 |
} |
148 | 148 |
|
Also available in: Unified diff
use context url to get cgi url