首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 普通框架

普通框架

  • 资源大小:167.84 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 框架 普通

资 源 简 介

以后这里只发布与smarty4j相关的信息,smarty4j需要asm-3.0.jar的支持 http://code.google.com/p/ordinary/source/browse/trunk/WEB-INF/lib/asm-3.0.jar asm-3.0.jar来自于http://asm.objectweb.org 有关的开发文档可以去百度或者google搜索"smarty manual 中文" 使用方式参考以下: Engine engine = new Engine(); Template template = engine.getTemplate("demo.html"); template.merge(Context, Writer/OutputStream/Channel); smarty.properties是对系统运行环境的配置,放到classes的根目录即可,默认值如下: debug=true - 调试模式,模板文件更新将自动重新加载 cache=on - 启用cache,如果遇到变量无法刷新的问题,请关闭缓存(cache=off) encoding=UTF-8 - 模板文件编码集 tpl.path=/ - 模板根路径 left.delimiter={ - 左边界定界符 right.delimiter=} - 右边界定界符 package.function=template.smarty4j.statement.function - 函数扩展包的名称,以:分隔 package.modifier=template.smarty4j.statement.modifier - 变量调节器扩展包的名称,以:分隔
VIP VIP
0.314599s