[ java ] in KIDS 글 쓴 이(By): crystal (엠알투) 날 짜 (Date): 1998년01월21일(수) 04시59분33초 ROK 제 목(Title): Re: [질문] servlet에서 cookie값을 얻으려� HttpServletRequest.getHeader("Cookie") should work. If you download JSDK, you can find sun.servlet.http.Cookie class which you can use to decode the cookie string. Servlet API 1.1 (which is included with Server Toolkit 1.1 and JDK1.2) has javax.servlet.http.Cookie class which is basically the same as sun.servlet.http.Cookie, but now it's standard Java API and more convenient to use. The new cookies can be obtained through HttpServletRequest/HttpServletResponse. |