2021-05-12 15:45

工作流!

2021-05-11 16:59

@山东小木 嗯,这篇知道,但还不够快

2021-05-11 15:49

后端只有表设计需要做,表做成树状表,主键id,父键parentId,根据这两个键确定层级关系

2021-03-25 15:07

都不看文档的吗,分页问题不时就看到有人问。https://jfinal.com/doc/5-6

2021-02-19 11:45

请问office这种xml导出模板的手段有没有相关的说明资料。之前也是在jfinal论坛看到的用html模板导出Excel的方法,查了一下有这样一篇文章https://www.c-sharpcorner.com/article/creating-a-dynamic-excel-using-html/ 里面提到的一些定制样式的xml代码跟你的有点像。就是我没找到更详细更系统的描述这种设置都有哪些的说明文档。

2021-01-26 16:39

@JFinal 好家伙,删掉了cookie里面几个带繁体字的键值就可以了。。但是为什么之前的undertow 版本会没事呢,真奇怪。。谢谢詹总了

2021-01-20 15:36

加油奥利给

2020-09-18 19:05

C:\WINDOWS\system32>curl -v -X TRACE http://localhost/check/captcha
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 80 (#0)
> TRACE /check/captcha HTTP/1.1
> Host: localhost
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Cache-Control: no-cache
< Set-Cookie: JSESSIONID=4-YBgJ5YFXMSSVkquALBZ1m3lMO9L-ynaPGJ601D; path=/
< Server: JFinal
< Pragma: no-cache
< Date: Fri, 18 Sep 2020 08:45:44 GMT
< Connection: keep-alive
< Transfer-Encoding: chunked
< Content-Type: image/jpeg
<
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: " to save to a file.
* Failed writing body (0 != 1365)
* Failed writing data
* Closing connection 0

↓修改后↓

C:\WINDOWS\system32>curl -v -X TRACE http://localhost/check/captcha
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 80 (#0)
> TRACE /check/captcha HTTP/1.1
> Host: localhost
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 405 Method Not Allowed
< Connection: keep-alive
< Server: JFinal
< Content-Length: 0
< Date: Fri, 18 Sep 2020 09:05:24 GMT
<
* Connection #0 to host localhost left intact

2020-09-18 19:05

@JFinal 成功了!!詹总牛逼!在undertow.start();前加入如下代码

undertow.onDeploy((classLoader, deploymentInfo) -> {
deploymentInfo.addInitialHandlerChainWrapper(new HandlerWrapper() {

@Override
public HttpHandler wrap(HttpHandler handler) {
HttpString[] disallowedHttpMethods = { HttpString.tryFromString("TRACE"),
HttpString.tryFromString("TRACK") };
return new DisallowedMethodsHandler(handler, disallowedHttpMethods);
}
});
});

2020-09-18 17:10

在看这个帖子,貌似有思路https://blog.csdn.net/nklinsirui/article/details/108540403