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 |
|
@Deprecated |
17 |
|
@WebServlet(urlPatterns={"/LoadStations"}) |
18 |
|
|
19 |
public class LoadStations extends HttpServlet { |
public class LoadStations extends HttpServlet { |
20 |
private static final long serialVersionUID = 1L; |
private static final long serialVersionUID = 1L; |
49 |
|
|
50 |
} |
} |
51 |
|
|
52 |
|
@Override |
53 |
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { |
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { |
54 |
String url = "http://rafiki.t-hoerup.dk/tog/stations.php"; |
String url = "http://rafiki.t-hoerup.dk/tog/stations.php"; |
55 |
|
|