use the t5 cookies service:

@Inject
org.apache.tapestry5.services.Cookies cookie;

see mailinglist for more information!




"IT.Adviser" <[EMAIL PROTECTED]> 
20.06.2008 15:22
Bitte antworten an
"Tapestry users" <[email protected]>


An
[email protected]
Kopie

Thema
Read cookies from Tapestry5








I need to read cookies.
In simple Java servlet I can use next code:

  protected void doPost(HttpServletRequest req, HttpServletResponse resp)
      throws ServletException, IOException {

    HttpSession userSession = req.getSession(true);
    String currentRootUrl = 
        (String) userSession.getAttribute("feedRootUrl");
    String currentDomain = 
        (String) userSession.getAttribute("userDomain");
...
}

How I can do this in Tapestry, where there is no HttpServletRequest 
object?
-- 
View this message in context: 
http://www.nabble.com/Read-cookies-from-Tapestry5-tp18029465p18029465.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Reply via email to