/** * Sets a cookie with path as "/" * * @param name * @param value */ public void setCookie(final String name, final String value) { HttpCookie cookie = new HttpCookie(name, value); cookie.setPath("/"); setCookie(cookie); }
/** * Sets a cookie with path as "/" * * @param name * @param value */ public void setCookie(final String name, final String value) { HttpCookie cookie = new HttpCookie(name, value); cookie.setPath("/"); setCookie(cookie); }