Commit a186862d by Tuukka Kivilahti

prelento-commit

1 parent 63b4790a
......@@ -79,6 +79,8 @@ public class PlaceMapServlet extends HttpServlet {
private static final String PARAMETER_EVENT_MAP_ID = "mapid";
private static final String PARAMETER_USER_ID = "userid";
private static final String PARAMETER_TOKEN = "token";
/**
* Processes requests for both HTTP <code>GET</code> and <code>POST</code>
......@@ -107,8 +109,8 @@ public class PlaceMapServlet extends HttpServlet {
Integer mapId = getIntegerParameter(request, PARAMETER_EVENT_MAP_ID);
Integer userId = getIntegerParameter(request, PARAMETER_USER_ID);
// Integer userId = getIntegerParameter(request,
// PARAMETER_CURRENT_USER_ID); Tämä saadaan beaneilta.
String userToken = request.getParameter(PARAMETER_TOKEN);
EventMap map = placeBean.findMap(mapId);
logger.debug("Mapid: {}", mapId);
......@@ -229,6 +231,7 @@ public class PlaceMapServlet extends HttpServlet {
return null;
}
// <editor-fold defaultstate="collapsed"
// desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!