Question about velocity: using VelocityView

Cantor, Scott cantor.2 at osu.edu
Fri Oct 14 13:52:13 EDT 2016


> > #set ($cookies = $request.getCookies())
> >
> > From there, you can grab the cookie you're looking for and act on it.
> 
> Yes, but you also then need to parse them correctly. The cookie manager will
> take care of all that.

Well, overstating things I suppose, the servlet method there does parse them, it's just you'd have to search through the array for the right one(s). It's more code, leave it at that.

-- Scott



More information about the users mailing list