Parent Directory | Revision Log | Patch
revision 1800 by torben, Thu Apr 28 19:03:04 2011 UTC | revision 1801 by torben, Wed May 9 17:23:50 2012 UTC | |
---|---|---|
# | Line 33 public class MetroServlet extends HttpSe | Line 33 public class MetroServlet extends HttpSe |
33 | ||
34 | protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { | protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { |
35 | ||
36 | if (req.getParameter("station") == null) { | if (req.getParameter("station") == null || req.getParameter("station").equals("") ) { |
37 | resp.sendError(400, "not enough parameters"); | resp.sendError(400, "not enough parameters"); |
38 | return; | return; |
39 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |