SDH
1
Hi
I write OWS service to get the GeoServer data directory set in web.xml
file.. Here is the piece of code:
This does give the data directory but also the following exception:
So is there any other way to retrieve the data directory set in the web.xml
file ?
Regards,
Sunil
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/OWS-exception-tp5094157.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
cmaul
2
Sunil,
Hmmm, and what about using this class?
https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/vfny/geoserver/global/GeoserverDataDirectory.java
Cheers
Christian
-----
____________________________
Dr Christian Maul
Project Manager
Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000
PO Box 500, East Melbourne Vic 3002
Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/OWS-exception-tp5094157p5094368.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
SDH
3
Thanks a lot Christian. That worked great !!...
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/OWS-exception-tp5094157p5094466.html
Sent from the GeoServer - User mailing list archive at Nabble.com.