サーバー上のフォルダーは次のようにマウントされます。
root@ubuntusrv:/mnt# mount -t cifs //192.168.14.12/share -o auto,user,iocharset=utf8,uid=1001,umask=000,username=john,password=smith /mnt/target
とか、ぐらい:
root@ubuntusrv:/mnt# mount -t cifs //192.168.14.12/share -o username=john,password=smith /mnt/target
/mnt/target フォルダがマウントされ、現在利用可能であることをJava Webアプリで確認するにはどうすればよいですか?