![]() |
| ||
| struts2 cookies How can we set and get cookies in struts2. I tried with ;Cookie a = new Cookie("name","value"); - but this throws a null pointer exception. because of this exception I used CookieInterceptor: CookieInterceptor LoginCookie = new CookieInterceptor(); LoginCookie.setCookiesName("type"); LoginCookie.setCookiesValue("value"); but how can I get the cookie values? |
| All times are GMT -4. The time now is 6:27 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC