fuzhucheng / ssm Goto Github PK
View Code? Open in Web Editor NEWJ2EE项目系列(四)–SSM框架构建积分系统和基本商品检索系统(Spring+SpringMVC+MyBatis+Lucene+Redis+MAVEN)
J2EE项目系列(四)–SSM框架构建积分系统和基本商品检索系统(Spring+SpringMVC+MyBatis+Lucene+Redis+MAVEN)
spring-service中ref = datasource没写吧?,还是意思要把这些配置文件继续整合?
if (userFind != null) {
jedisClient.zadd("Toptest", (double) user.getScore(), userFind);
System.out.println("修改原有的!!!");
return;
}
//如果没有就加进去嘛,根据排行榜来区分
if (userList.size() >= 20) {
if (user.getScore() + scoreCount > userList.get(19).getScore()) {
System.out.println("大于排名20名中的最后一名就丢进缓存 :");
System.out.println("userList :" + userList.toString());
}
} else {
System.out.println("排行榜小于20人就直接丢进缓存 :");
if (userFind != null) {
jedisClient.zadd("Toptest", (double) user.getScore(), user);
}
System.out.println("user " + userFind);
}
这里两个userFind != null
,但是前面已经return了,所以后面永远不会被执行吧?
还有userList.size() >= 20
里边说明也没干?
怎么txt文件下载下来乱码,改gbk和utf8都没用啊
访问的话不是 http://localhost:8080/ajax/testajax吗?
为什么会报404,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.