Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
181 lines (172 loc) · 5 KB

properties.web.md

File metadata and controls

181 lines (172 loc) · 5 KB

Properties File

the file /WEB-INF/classes/efw.properties is established to set the framework. If everything is default, it is not needed.
Group Key Default Value Description
Run Mode efw.isdebug false If the value is true, any changing to the program will be loaded into memory in real time.
Database Resource efw.jdbc.resource jdbc/efw The default jdbc resource name, which must be defined in /META-INF/context.xml. If your server is not tomcat, you can define it by jndi name. Example: java:xxx/yyy/zzz or [java:comp/env/]jdbc/efw
Mail efw.mail.resource mail/efw The default mail resource name, which must be defined in /META-INF/context.xml. If your server is not tomcat, you can define it by jndi name. Example: java:xxx/yyy/zzz or [java:comp/env/]mail/efw
Folder efw.event.folder /WEB-INF/efw/event The folder for web application events program. It can be set in a relative or absolute path of the web application.
efw.sql.folder /WEB-INF/efw/sql The folder for web application outside sql. It can be set in a relative or absolute path of the web application.
efw.mail.folder /WEB-INF/efw/mail The folder for web application mail template. It can be set in a relative or absolute path of the web application.
efw.storage.folder /WEB-INF/efw/
storage
The folder for Web application IO. It can be set in a relative or absolute path of the web application.
Login Check efw.login.check false The flag indicating whether the web application does the login check.
efw.login.key USER_ID The session key for login check.
efw.login.url login.jsp The page to login.If any access without logining, this page will be shown.
efw.outoflogin.
url.pattern
The regexp to set pages which are out of logining check.
efw.outoflogin.
eventid.pattern
The regexp to set events which are out of logining check.
efw.sso.enable false The flag indicating whether the web application does the sso authentication check.
Auth Check efw.auth.check false The flag indicating whether the web application does the authority check.
efw.auth.key USER_AUTH The session key for authority check.
efw.system.error.
url
error.jsp The page to show system error.
efw.auth.cases The authority cases splitted by [,] to define sets of authorities and pages.
####.auth.pattern The authority regexp of the set.
####.url.pattern The page regexp of the set.
Logging efw.logging.path /logs The path of efw log. Absolute path.
efw.logging.name efwlog%g.txt The file name of efw log.
efw.logging.limit 10485760 The limit of efw log.
efw.logging.num 5 The file count of efw log.
efw.logging.level WARNING The output level of efw log. ALL,FINEST,FINER,FINE,CONFIG,INFO,WARNING,SEVERE,OFF
Cors efw.cors * Cross-domain communication settings. It controls whether the events of this site can be used from the Web page of the other sites.
* : Allow all, null : Reject all, http://0.0.0.0:8080,http://9.9.9.9 : Specified permission.
Pdf efw.pdf.
wkhtmltopdf
C:/Program Files/wkhtmltopdf/
bin/
wkhtmltopdf.exe
The path to wkhtmltopdf.exe. You can download the soft from http://wkhtmltopdf.org/ .
efw.pdf.pdftk C:/Program Files/PDFtk Server/bin/pdftk.exe The path to pdftk.exe. You can download the soft from https://www.pdflabs.com/tools/pdftk-server/ .
efw.openoffice.port 8100 The port of the OpenOffice service. You can download the soft from https://www.openoffice.org/ja/download/ .
efw.pdf.baseurl http://localhost:8080/
efw/
The url for pdf generating to access the web appication from the web server itself .
Rounder efw.format.rounder HALF_EVEN The default rounder for format method. UP,DOWN,CEILING,FLOOR,HALF_UP,HALF_DOWN,HALF_EVEN