2018-08-15 10:54

@JFinal 波总,帖子修改好了,你再帮我看一下

2018-08-14 18:08

@JFinal href ="/index?pageNumber=#if((blogPage.getPageNumber()+1)>blogPage.getTotalPage()) blogPage.getTotalPage() #else (blogPage.getPageNumber()+1) #end"> 下一页

2018-08-14 18:07

@猛男来了耶 代码贴不上什么鬼

2018-08-14 18:01

@JFinal 改成这样也报错 下一页

2018-08-14 18:00:31
[ERROR]-[Thread: qtp474675244-20]-[com.jfinal.core.ActionHandler.handle()]: /index?pageNumber=(blogPage.getPageNumber()+1)
com.jfinal.core.ActionException: Can not parse the parameter "(blogPage.getPageNumber() 1)" to Integer value.
at com.jfinal.core.Controller.toInt(Controller.java:279)
at com.jfinal.core.Controller.getParaToInt(Controller.java:289)
at nsc66.controller.IndexController.index(IndexController.java:21)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)