aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/http/www/Home.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-06-27 10:33:52 +0300
committerGravatar Vitaly Takmazov2016-06-27 10:33:52 +0300
commit53fb0b3e0e790df007a198deef21c115ed236b3e (patch)
tree7dcf33649f36b64d8240bf9a48242c7e5ceed24b /src/main/java/com/juick/http/www/Home.java
parent83a3c5f721411bc463fea4c209e6fc2537c50417 (diff)
merge with spring-jdbc
Diffstat (limited to 'src/main/java/com/juick/http/www/Home.java')
-rw-r--r--src/main/java/com/juick/http/www/Home.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/juick/http/www/Home.java b/src/main/java/com/juick/http/www/Home.java
index 8dc3e70c..89d4005f 100644
--- a/src/main/java/com/juick/http/www/Home.java
+++ b/src/main/java/com/juick/http/www/Home.java
@@ -19,6 +19,8 @@ package com.juick.http.www;
import com.juick.server.AdsQueries;
import com.juick.server.MessagesQueries;
+import org.springframework.jdbc.core.JdbcTemplate;
+
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URLEncoder;
@@ -35,7 +37,7 @@ import javax.servlet.http.HttpServletResponse;
*/
public class Home {
- protected void doGet(Connection sql, Connection sqlSearch, HttpServletRequest request, HttpServletResponse response, com.juick.User visitor) throws ServletException, IOException {
+ protected void doGet(JdbcTemplate sql, JdbcTemplate sqlSearch, HttpServletRequest request, HttpServletResponse response, com.juick.User visitor) throws ServletException, IOException {
int paramBefore = 0;
String paramBeforeStr = request.getParameter("before");
if (paramBeforeStr != null) {