-
在Android开发上我使用rxJava,习惯了他的思路,所以我想在jfinal上也使用,但是出现了以下错误。
JFinal是阻塞式的么?
``` java
java.lang.NoClassDefFoundError: freemarker/template/TemplateException
at com.jfinal.render.RenderFactory.getDefaultR…
-
应用过程中发现cos-oreilly不支持input file multiple的多文件上传 发现这个在JFinal中写死的, 无奈只有自己在Controller中自己用Apache Commons FileUpload处理, 如果能以插件方式提供上传组件就好了, 望改进
-
In the `RenderFactor.java`, the builtin renders (velocity,freemarker) can be initialized with servletContext. However there is no API for a third party render to init with servlet context.
-
这个版本的Db.paginate把sql语句都合并成了一个参数进行传递,觉得非常好,但是当我的select语句中带有子查询的时候,select count(*)的组装就错乱了,导致数据库执行的时候报错。
举个栗子:
select a.xx, a.yy (select some from xxx_table where xxx = xxx) as t
from yyy_table
where ..…
ewill updated
8 years ago
-
-
我看了jfinal的AOP,用的@before注解,按道理说应该是在服务启动的时候,读取扫描指定包下面类或者方法上面的注解,反射实例化执行代码,然而我在InterceptorBuilder找到了类似加载before注解的代码,但是在服务启动的时候debug不执行这块,那么请问,注解那块到底在哪实现反射的?
-
每次都要自己封装一个工具方法来获取`UploadFile`,然后自己实现重命名的功能,`jfinal`框架里能否将重命名的功能集成到框架中,让开发者有可选择的余地,个人感觉这样做不会加重框架吧?
毕竟大多数情况是需要将用户上传的文件重命名到存储服务器进行存储。还望权衡一下!
-
现象描述:项目本地(OSX / JDK 1.7 / Tomcat 6)可以运行,线上没法跑起来,tomcat卡死;
环境:jdk 1.7 / tomcat 6
lib: jfinal-2.0-bin-with-src.jar / c3p0-0.9.1.2.jar
查看了很久资料,有说数据库连接字符写的有问题的,检查过没有问题。
日志信息如下:
```
2016-01-16 13:56:10
…
-
``` java
static boolean save(Connection conn, String tableName, String primaryKey, Record record) throws SQLException {
List paras = new ArrayList();
StringBuilder sql = new StringBuil…
bonyz updated
8 years ago
-
```
AnswerItem answerItem = new AnswerItem().set("user_id", user_id).set("question_id", question_id)
.set("content", content).set("create_time", create_time).set("addr", addr).…