I used the following code to configure my jquery file tree.
& lt; Script & gt; Jquery ($) ($ {document} .ready (function () {$ ('# loadFolderTree'). FileTree ({root: '/', script: 'assets / plugins / jquery_file_tree / connectors / jqueryFileTree.jsp' , Multifolder: wrong}, function (file) {warning (file);});});}); & Lt; / Script & gt;
Its working fine, script is loading, facing only one problem, I can not find the root folder of my web-application < Instead, it is giving me (i can not upload the image,
I do not know exactly how to set the path to my web-application root folder. How can I direct it to my actual web-application server folder?
"/" is the full root You can try the path of the file system with "." To get the current folder of the web-application.
No comments:
Post a Comment