JSPGen软件开发框架第四版 开发手册

8.3、内置变量

A、框架配置信息(全局性):

${config. title}                                        项目主题

${config. host}                                       项目地址

${config. path}                                      项目虚拟路径

${config. statie}                                     静态资源访问地址

${config. dynamie}                               动态资源访问地址

${config. timezoneid}                           时区Id

${config. locale}                                    语言环境

${config. charset}                                  字符集

${config. devMode}                              是否为开发模式

${config. name}                                     框架名称

${config. version}                                  框架版本

${config. release}                                  框架发布时间

${config. company}                               项目开发者信息

${config. url}                                          项目开发者网址

${config. email}                                     项目开发者邮件地址

 

B、操作信息(全局性):

${actionErrors}                                      错误信息集合

${actionMessages}                               提示信息集合

${redirectUrl}                                         跳转地址

 

CJSON信息(仅对JSON输出有效),输出格式:

{

status”:true/false,“message”: 提示信息/错误信息

store”:数据集合 // {} [{}]

}




Copyright ©2006 - 2014 JSPGen.Com.All rights reserved.