2018-06-22 18:25

@JFinal 在下就是新手,非常感激波总的回复,我去试试看看

2018-06-22 18:20

@JFinal 主要是这两个sqlserver数据库都是必须要连接的

2018-06-22 18:19

@JFinal 换了连接池后报这个:
严重: Exception starting filter jfinal
java.lang.NoClassDefFoundError: com/alibaba/druid/pool/DruidDataSource
at com.jfinal.plugin.druid.DruidPlugin.start(DruidPlugin.java:180)
at com.jfinal.core.Config.startPlugins(Config.java:107)
at com.jfinal.core.Config.configJFinal(Config.java:53)
at com.jfinal.core.JFinal.init(JFinal.java:63)
at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: com.alibaba.druid.pool.DruidDataSource
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
... 22 more

2018-05-14 17:08

@JackZeng 反正第二页拿数据的时候page.getList()没有数据,但是totalRow又有,我直接调用Db类中的find方法来分页了,直接用mysql的limit,自己搞还没出错,不知道为什么

2018-05-14 14:09

@小徐同学 我敢保证,没有反,我试过了

2018-05-14 13:05

@JackZeng 有传到后台,页码和页数都有拿到,但是第二页的数据就是获取不到

2018-05-09 15:19

@JFinal 比方说用谷歌浏览器预览,但是不让用户下载,只能预览

2018-05-09 15:15

@JFinal 非常感谢波总的回复,主要我想避免主流的浏览器的下载,只能预览,应该如何做?

2018-04-19 10:25

@JFinal感谢波总百忙之中的回复,这里的a标签我不知道怎么写,还希望大神能抽空帮忙看一下,在下编程初学者,很多还很懵懂,希望大神不吝赐教