exception while setting cookie

2011-11-28 Thread Debraj Mallick
hi all, i am setting cookie form action and i am getting exception : org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.ArrayIndexOutOfBoundsException org.apache.coyote.http11.AbstractHttp11Processor

Re: exception while setting cookie

2011-11-28 Thread Ɓukasz Lenart
I don't see any connections with Struts 2 code, could you provide more details and the whole stack trace ? Regards -- Lukasz 2011/11/28 Debraj Mallick sridebrajmall...@gmail.com: hi all, i am setting cookie form action and i am getting exception :

Re: exception while setting cookie

2011-11-28 Thread Debraj Mallick
*my action : * public class SetCookieAction extends ActionSupport implements ServletRequestAware, ServletResponseAware { private ListIngredientBean ingredientBeanList; protected HttpServletResponse servletResponse; @Override public void setServletResponse(HttpServletResponse

Re: exception while setting cookie

2011-11-28 Thread JOSE L MARTINEZ-AVIAL
It seems that your cookie is bigger than the maximum admitted(which is 4k). 2011/11/28 Debraj Mallick sridebrajmall...@gmail.com *my action : * public class SetCookieAction extends ActionSupport implements ServletRequestAware, ServletResponseAware { private ListIngredientBean

Re: exception while setting cookie

2011-11-28 Thread Maurizio Cucchiara
You should consider to use the session scope for this kind of use case (though it could cause memory leak exception). Aside from this is not a Struts issue Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 28/nov/2011 14.25, JOSE L MARTINEZ-AVIAL