8 |
import java.sql.SQLException; |
import java.sql.SQLException; |
9 |
|
|
10 |
import javax.servlet.ServletException; |
import javax.servlet.ServletException; |
11 |
|
import javax.servlet.annotation.WebServlet; |
12 |
import javax.servlet.http.HttpServlet; |
import javax.servlet.http.HttpServlet; |
13 |
import javax.servlet.http.HttpServletRequest; |
import javax.servlet.http.HttpServletRequest; |
14 |
import javax.servlet.http.HttpServletResponse; |
import javax.servlet.http.HttpServletResponse; |
15 |
|
|
16 |
|
import dk.thoerup.traininfoservice.db.DBConnection; |
17 |
|
|
18 |
|
@Deprecated |
19 |
|
@WebServlet(urlPatterns={"/LoadStations"}) |
20 |
|
|
21 |
public class LoadStations extends HttpServlet { |
public class LoadStations extends HttpServlet { |
22 |
private static final long serialVersionUID = 1L; |
private static final long serialVersionUID = 1L; |
51 |
|
|
52 |
} |
} |
53 |
|
|
54 |
|
@Override |
55 |
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { |
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { |
56 |
String url = "http://rafiki.t-hoerup.dk/tog/stations.php"; |
String url = "http://rafiki.t-hoerup.dk/tog/stations.php"; |
57 |
|
|