Commit efad9683dbd2a2df83d28c20e8e135c8233dd87b
1 parent
f089ca0e
APCalibrationServlet : ajout code retour succès
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/main/java/servlet/APCalibrationServlet.java
... | ... | @@ -34,6 +34,7 @@ public class APCalibrationServlet extends HttpServlet { |
34 | 34 | double val = Double.parseDouble(servletRequest.getParameter("VAL")); |
35 | 35 | |
36 | 36 | new CalibrationService().addCalibrationData(locId, apMacAddr, val); |
37 | + servletResponse.setStatus(200); | |
37 | 38 | }catch(Exception e){ |
38 | 39 | e.printStackTrace(); |
39 | 40 | try{ | ... | ... |