I have no difficulty to handle cookie in struts 1, but have lots of error in struts 2
i have the following program public class SecurityVerifySessionIntercepter extends AbstractInterceptor implements ServletResponseAware, ServletRequestAware { .... Map session= ActionContext.getContext().getSession(); Cookie cookieList[]=HttpServletRequest.getCookies(); for above program, the compiler give so much error about cookie. cannot find symbol symbol : class Cookie location: class SecurityVerifySessionIntercepter Cookie cookieList[]=HttpServletRequest.getCookies(); non-static method getCookies() cannot be referenced from a static context Cookie cookieList[]=HttpServletRequest.getCookies(); please advise thanks in advance john