diff options
author | 2016-06-27 10:39:24 +0300 | |
---|---|---|
committer | 2016-06-27 10:39:24 +0300 | |
commit | 0d93073c6988a22246db61a59b97c2fd7c9f462b (patch) | |
tree | d5f27cdb9a4fe51690f7af067608a9bee62087e3 /src/main/java/com/juick/http/www/Discover.java | |
parent | 2d7f61242de54b0c0670bac1953e45ee18d9ecec (diff) | |
parent | 53fb0b3e0e790df007a198deef21c115ed236b3e (diff) |
merge
Diffstat (limited to 'src/main/java/com/juick/http/www/Discover.java')
-rw-r--r-- | src/main/java/com/juick/http/www/Discover.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/juick/http/www/Discover.java b/src/main/java/com/juick/http/www/Discover.java index e7d85d8a..bdb86380 100644 --- a/src/main/java/com/juick/http/www/Discover.java +++ b/src/main/java/com/juick/http/www/Discover.java @@ -20,6 +20,8 @@ package com.juick.http.www; import com.juick.server.AdsQueries; import com.juick.server.MessagesQueries; import com.juick.server.TagQueries; +import org.springframework.jdbc.core.JdbcTemplate; + import java.io.IOException; import java.io.PrintWriter; import java.net.URLDecoder; @@ -37,7 +39,7 @@ import javax.servlet.http.HttpServletResponse; */ public class Discover { - protected void doGet(Connection sql, Connection sqlSearch, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + protected void doGet(JdbcTemplate sql, JdbcTemplate sqlSearch, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { com.juick.User visitor = Utils.getVisitorUser(sql, request, response); String paramTagStr = URLDecoder.decode(request.getRequestURI().substring(5), "UTF-8"); |