diff --git a/java/main.java b/java/main.java index c6d4618..4e08fbe 100644 --- a/java/main.java +++ b/java/main.java @@ -67,8 +67,9 @@ void connect(HttpServletRequest req){ class Connector6 { @javax.jws.WebMethod void connect(HttpServletRequest req){ - javax.servlet.http.Cookie cook = new Cookie("cookie"); - cook.setSecure(false); + javax.servlet.http.Cookie cook = new Cookie("cookie"); //another comment + cook.setSecure(false); //and another + //and another req.addCookie(cook); } }