You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Java/androidfsstorage/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@
7
7
<li>Android API Level 19</li>
8
8
</ul>
9
9
<h2>Setting the License</h2>
10
-
<p>To run the example, you will need a valid IT Hit WebDAV Server Engine License. You can download the license in the <atitle="Download"href="https://www.webdavsystem.com/javaserver/download/">product download area</a>. Note that the Engine is fully functional with a trial license and does not have any limitations. The trial license is valid for one month and the engine will stop working after this. You can check the expiration date inside the license file. Download the license file and specify it's content in <spanclass="code">License</span> field under <spanclass="code">DavEngineOptions</span> in <spanclass="code">/androidfsstorage/app/src/main/assets/webdavsettings.json</span> file.</p>
11
-
<p>You can also run the sample without explicitly specifying a license for 5 days. In this case the Engine will automatically request the trial license from IT Hit website https://www.webdavsystem.com. Make sure it is accessible via firewalls, if any. After 5 days the Engine will stop working. To extend the trial period you will need to download a license in a <atitle="Download"href="https://www.webdavsystem.com/javaserver/download/">product download area</a> and specify it in <spanclass="code">webdavsettings.json</span></p>
10
+
<p>To run the example, you will need a valid IT Hit WebDAV Server Engine License. You can download the license in the <atitle="Download"href="https://www.webdavsystem.com/javaserver/download/">product download area</a>. Note that the Engine is fully functional with a trial license and does not have any limitations. The trial license is valid for one month and the engine will stop working after this. You can check the expiration date inside the license file. Download the license file and specify it's content in <codeclass="code">License</code> field under <codeclass="code">DavEngineOptions</code> in <codeclass="code">/androidfsstorage/app/src/main/assets/webdavsettings.json</code> file.</p>
11
+
<p>You can also run the sample without explicitly specifying a license for 5 days. In this case the Engine will automatically request the trial license from IT Hit website https://www.webdavsystem.com. Make sure it is accessible via firewalls, if any. After 5 days the Engine will stop working. To extend the trial period you will need to download a license in a <atitle="Download"href="https://www.webdavsystem.com/javaserver/download/">product download area</a> and specify it in <codeclass="code">webdavsettings.json</code></p>
12
12
<h2>Accessing files via WebDAV</h2>
13
13
<p>By default your server runs on port 8181. After running the application on Android you will see the following screen with the instructions about ho to connect:</p>
14
14
<pstyle="text-align: center;"><imgid="__mcenew"alt="Connection instructions are displayed when you run the Android WebDAV Server."src="https://www.webdavsystem.com/media/1653/androidwebdavserver.png"rel="111413"></p>
<atitle="WebDAV Server with Versioning Example, Java"href="https://www.webdavsystem.com/javaserver/server_examples/deltav_storage/">WebDAV Server Example with Versioning, Java</a>
Copy file name to clipboardExpand all lines: Java/deltav/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
<li><strong>Create the database.</strong> The Oracle database script is located in <em>\samples\deltav\db\<em>deltav</em>.sql</em> file. This script creates tables and populates them with data so your WebDAV server initially has several folders and files. To run the script login to Oracle administration web interface, go to <em>SQL->SQL Scripts->Create</em>, then paste content of deltav.sql to script field, specify a script name and click Run.<br>
14
14
<p>It is also recommended to increase the datafile. After creating the database run the following command:</p>
<p> This is especially required if you would like to test WebDAV server running Oracle XE with <ahref="https://www.webdavsystem.com/ajaxfilebrowser/">IT Hit AJAX File Browser</a>.</p>
The IT Hit Java WebDAV Server Library is fully functional and does not have any limitations. However, the trial period is limited to 1 month. After the trial period expires the Java WebDAV Server will stop working.</li>
26
-
<li><span><strong>Download the IT Hit WebDAV Ajax Library.</strong> </span>You can do this with NPM command line tool, which is included with Node.js. Install the <ahref="https://nodejs.org/en/download/">Node.js</a> and navigate to <spanclass="code">\deltav\WEB-INF\wwwroot\js\</span> folder. Run:
26
+
<li><span><strong>Download the IT Hit WebDAV Ajax Library.</strong> </span>You can do this with NPM command line tool, which is included with Node.js. Install the <ahref="https://nodejs.org/en/download/">Node.js</a> and navigate to <codeclass="code">\deltav\WEB-INF\wwwroot\js\</code> folder. Run:
This will download IT Hit WebDAV Ajax Library files into your project. Note that Node.js itself is <strong>NOT</strong> required to run the server, it is used <strong>ONLY</strong> to install the required JavaScript files.</li>
29
-
<li><strong>Configure the application server.</strong> Here we will configure WebDAV server to run on the website root (<span class="code">http://server.com/</span>).<span class="warn">While you can configure WebDAV server to run on site non-root (for instance on <span class="code">http://server.com/webdavroot/</span>) some WebDAV clients (such as some old versions or Mini-redirector, Microsoft Web Folders and MS Office 2007 and earlier) will fail to connect to non-root server. They submit configuration requests to server root and if they does not get the response they will not be able to connect. See also <a title="Working with MS Office" href="https://www.webdavsystem.com/javaserver/doc/ms_office_read_only/">Making Microsoft Office to Work with WebDAV Server</a> and <a title="Opening Docs" href="https://www.webdavsystem.com/ajax/programming/open-doc-webpage/opening_ms_office_docs/">Opening Microsoft Office Documents and Other Types of Files for Editing From a Web Page</a>.</span> <br><ol>
29
+
<li><strong>Configure the application server.</strong> Here we will configure WebDAV server to run on the website root (<code class="code">http://server.com/</code>).<span class="warn">While you can configure WebDAV server to run on site non-root (for instance on <code class="code">http://server.com/webdavroot/</code>) some WebDAV clients (such as some old versions or Mini-redirector, Microsoft Web Folders and MS Office 2007 and earlier) will fail to connect to non-root server. They submit configuration requests to server root and if they does not get the response they will not be able to connect. See also <a title="Working with MS Office" href="https://www.webdavsystem.com/javaserver/doc/ms_office_read_only/">Making Microsoft Office to Work with WebDAV Server</a> and <a title="Opening Docs" href="https://www.webdavsystem.com/ajax/programming/open-doc-webpage/opening_ms_office_docs/">Opening Microsoft Office Documents and Other Types of Files for Editing From a Web Page</a>.</span> <br><ol>
30
30
<li><span>In the case of Tomcat:</span><br>Copy <em>\<em>deltav </em></em>folder to <em><Your Tomcat location></em><em>\Tomcat x.x\webapps</em> folder. Add the following lines under the <Host> tag in <em><Your Tomcat location></em><em>\Tomcat x.x\conf\server.xml</em>:<br>
@@ -36,7 +36,7 @@ This will download IT Hit WebDAV Ajax Library files into your project. Note that
36
36
</Context></pre>
37
37
<p>Specify Oracle database login credentials in Context tag. Check you service instance Id in server url. <br>Finally, restart the Tomcat for configuration changes to take effect.</p>
38
38
<p>To see if your server is running type the root URL of your WebDAV site in a browser and you will see the list of folders. Now <ahref="https://www.webdavsystem.com/server/access/">connect to the server with any WebDAV client</a>.</p>
39
-
<p>If you experience any problems examine the log created by tomcat: <spanclass="code"><Your Tomcat location>\Tomcat x.x\logs\localhost.xxxx-xx-xx.log</span>.</p>
39
+
<p>If you experience any problems examine the log created by tomcat: <codeclass="code"><Your Tomcat location>\Tomcat x.x\logs\localhost.xxxx-xx-xx.log</code>.</p>
40
40
</li>
41
41
<li><span>In the case of Glassfish:</span><ol>
42
42
<li><span>Create oracle connection pool.</span>
@@ -88,8 +88,8 @@ This will download IT Hit WebDAV Ajax Library files into your project. Note that
88
88
<p>On the diagram below you can see the classes in WebDAV DeltaV project.</p>
<palign="left">You can find more about building a server with versioning in <atitle="DeltaV Server"href="https://www.webdavsystem.com/javaserver/doc/deltavserver/">Creating WebDAV Server with Versioning Support</a> article. You may also want to read <atitle="Creating WebDAV Server"href="https://www.webdavsystem.com/javaserver/doc/">Creating a Class 1 WebDAV Server</a> and <atitle="Class 2 / 3 Server"href="https://www.webdavsystem.com/javaserver/doc/create_class_2_webdav_server/">Creating Class 2 WebDAV Server</a> articles.</p>
91
-
<h2>How Things Get Stored ? Overview of the Oracle Back-end</h2>
92
-
<p>The database consists of 5 entities as depicted in the figure below. 2 of them, Property and Lock, are identical to the tables found in <atitle="WebDAV SQL"href="https://www.webdavsystem.com/javaserver/server_examples/sql_storage/">SqlStorage example</a> - Properties and Lock. The <spanclass="code">Repository</span> table contains additional fields: <spanclass="code">CREATORDISPLAYNAME</span>, <spanclass="code">CHANGENOTES</span>, <spanclass="code">CHECKEDOUT</span>, <spanclass="code">AUTOVERSION</span>, <spanclass="code">VERSIONCONTROLLED,</span> <spanclass="code">CHECKEDINDURINGUNLCOK</span>and <spanclass="code">CHECKEDINONFILECOMPLETE</span>.</p>
91
+
<h2>How Things Get Stored Overview of the Oracle Back-end</h2>
92
+
<p>The database consists of 5 entities as depicted in the figure below. 2 of them, Property and Lock, are identical to the tables found in <atitle="WebDAV SQL"href="https://www.webdavsystem.com/javaserver/server_examples/sql_storage/">SqlStorage example</a> - Properties and Lock. The <codeclass="code">Repository</code> table contains additional fields: <codeclass="code">CREATORDISPLAYNAME</code>, <codeclass="code">CHANGENOTES</code>, <codeclass="code">CHECKEDOUT</code>, <codeclass="code">AUTOVERSION</code>, <codeclass="code">VERSIONCONTROLLED,</code> <codeclass="code">CHECKEDINDURINGUNLCOK</code>and <codeclass="code">CHECKEDINONFILECOMPLETE</code>.</p>
93
93
<p><imgid="__mcenew"alt="DeltaV DB diagram"src="https://www.webdavsystem.com/media/1560/deltavstoragedb.jpg"rel="109208"></p>
94
94
<h3>Version table</h3>
95
95
<p>The Version table contains file versions. If versioning is enabled each file contains at least one version in this table.</p>
@@ -104,3 +104,4 @@ This will download IT Hit WebDAV Ajax Library files into your project. Note that
<atitle="Running the WebDAV Samples"href="https://www.webdavsystem.com/javaserver/server_examples/running_webdav_samples/">Running the WebDAV Samples</a>
0 commit comments