我想以不同的方式记录Controller和其他包。我知道我可以使用两个不同的方法,但这两个方法非常相似,所以我想添加一个代码来检查,看起来像这样 @Around("controllerPoint() || theRest()") if( called from controllerPoint() ) {
execute this short section of code # (1)
如何在Spring应用程序中使用动态数据(比如用户名)填充可重用的部分(比如头),每次调用特定的控制器组(页面控制器),而不是其他控制器(表单控制器、ajax、.)?<#import "../spring.ftl" as spring />@Retention(RetentionPolicy.RUNTIME)}