Or...

@Inject
private Cookies _cookies;

You can then do:

readCookieValue("mycookie");
and there a variety of "writeCookieValue" methods offering control over the age, domain, path, etc.

Cheers,

Robert

On Oct 1, 2007, at 10/110:50 AM , Ned Jackson Lovely wrote:

On Mon, Oct 01, 2007 at 05:00:30PM +0200, Borut Bolčina wrote:
is there a T5 way of sending and receiving cookies?

@Inject
private RequestGlobals _requestGlobals;

You can then call _requestGlobals.getHTTPServletRequest() and
_requestGlobals.getHTTPServletResponse() to get access to the Servlet
Request and Response.

--
njl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • [T5] Borut Bolčina
    • Re: [T5] Ned Jackson Lovely
      • Re: [T5] Robert Zeigler

Reply via email to