diff options
author | Vitaly Takmazov | 2016-06-27 10:33:52 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-06-27 10:33:52 +0300 |
commit | 53fb0b3e0e790df007a198deef21c115ed236b3e (patch) | |
tree | 7dcf33649f36b64d8240bf9a48242c7e5ceed24b /src/main/java/com/juick/http/www/Home.java | |
parent | 83a3c5f721411bc463fea4c209e6fc2537c50417 (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.java | 4 |
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) { |