2012/9/28 Adam Stokar <ajsto...@gmail.com>: > Has anyone come up with a robust way to handle cookies within a Stripes > application? Are people simply adding a setCookie / getCookie / > deleteCookie method to their ActionBeanContext? I haven't used cookies much > so looking forward to reading the responses.
HttpServletResponse.addCookie() is usually enough, otherwise you can end up creating lots of variations of setCookie() to accomodate for all the attributes that can be set on a Cookie. It's easier to just construct the Cookie directly and add it to the response. I guess you can wrap HttpServletRequest.getCookies() so it filters on the cookie name, if you need to access various cookies, I just haven't needed it. Regards, Frank ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users