Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in Accessing a shared directory  RSS feed

Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
i am writing a jsp to list all the file of a shared folder to a selection list.I am using the shared folder path as
String Path ="\\\\MYFOLDER\\IMP\\Teams\\TEST";
I am running this jsp on windows its working fine and listing all the files of shared folder TEST.
When the same jsp is deployed to linux environment it is not listing the
files of shared drive neither giving any error.
Can anybody help me how to change the String variable path to aceess the TEST shared folder in linux .
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!