Wednesday, 15 August 2012

jsp - how to configure root folder for jquery file tree? -


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,

  • c:
  • / Li>
  • CSS
  • Database-Dump
  • Dev
  • li
  • Home
  • js
  • Cart
  • Log
  • Log
  • Lost + found
  • Media
  • Meta-INF
  • mnt (The list of directories is on and on)
  • 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