Skip to content

Latest commit

 

History

History
153 lines (148 loc) · 4.39 KB

properties.web.md

File metadata and controls

153 lines (148 loc) · 4.39 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.
Logging efw.logging.level WARNING The output level of efw log. ALL,FINEST,FINER,FINE,CONFIG,INFO,WARNING,SEVERE,OFF
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.i18n.folder /WEB-INF/efw/mail The folder for multi language properties. 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.
Rounder efw.format.rounder HALF_EVEN The default rounder for format method. UP,DOWN,CEILING,FLOOR,HALF_UP,HALF_DOWN,HALF_EVEN
Zip efw.zip.charset UTF-8 The charset for achive and extract.
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.
Login Check
(for web event)
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.
Auth Check
(for web event)
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.
Forbidden Chars efw.forbidden.characters The forbidden characters should not be send as params to event js.
efw.forbidden.replacement The characters to replace the forbidden characters. If blank, the forbidden characters will be removed from request.