-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNote.txt
More file actions
36 lines (30 loc) · 1.82 KB
/
Note.txt
File metadata and controls
36 lines (30 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
This directory contains Aspose.Cells for GridWeb - Java examples.
for the spring demo,which is based on spring start framwork start,
in the springdemo\src\main\java\com\aspose\gridweb\demo\Application.java , check the main method
here you need to set the correct cache path
//optional settings for cache
ExtPage.setMaxholders(1000);
ExtPage.setMemoryInstanceExpires(600);
ExtPage.setMemoryCleanRateTime(1200);
//#######the dir for cache store for spreadsheet files,make sure the directory is existed at you enviroment.#############
ExtPage.setTempfilepath("c:/tmp/");
//set log directory, optional
ManualLog.setBasicPathAndInit("D:\\tmpdel\\gridwebjavatmp");
in springdemo\src\main\java\com\aspose\gridweb\demo\web\HelloController.java ,you can find all the api url for demo pages
after set the correct cache path ,then run the application and open url at http://localhost:8080/gridwebdemo/index
for the war demo which is for a web application in server container,after import the project ,
in the war\project\src\com\aspose\gridweb\test\TestGridWebBaseServlet.java, check the construct code of TestGridWebBaseServlet
here you need to set the correct cache path
//optional settings
ExtPage.setMaxholders(1000);
ExtPage.setMemoryInstanceExpires(600);
ExtPage.setMemoryCleanRateTime(1200);
//#######the dir for cache store for spreadsheet files,make sure the directory is existed at you enviroment.
ExtPage.setTempfilepath("D:\\tmpdel\\gridwebjavatmp");
//set log directory, optional
ManualLog.setBasicPathAndInit("D:\\tmpdel\\gridwebjavatmp");
after set the correct cache path ,run the server container then open the url at http://localhost:18080/GridWeb.WebDemo/
dependency lib references in the demo project for client side:
jquery.js v2.1.1
jquery-ui.js v1.12.1
jquery-ui.css v1.12.1