Hi Everyone,

I'm trying to create a FileDataStore-object in a managed bean in a
JSF-application via the following expression:

FileDataStore store = FileDataStoreFinder.getDataStore(file);

However I the FileDataStoreFinder.getDataStore(file) returns null instead a
ShapefileFeatureStore.

What is the correct way to instantiate the FileDataStore-object in a
container managed application i.e. a J2EE/JSF application?


Thanks

Andreas
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to