Hi
I extended ApplicationServlet to do some non-Tapestry work. From my
servlet I need to set a persistent cookie after super.doGet, but when
Tapestry's doGet is finished response is already committed and my
setting a cookie does not take effect:
@Override
public void doGet(HttpServletRequest aRequest, HttpServletResponse
aResponse) throws IOException, ServletException {
super.doGet(aRequest, aResponse);
// need to add cookie here
}
Obviously if I do super last I would be able to add a cookie, but then
I know nothing about things that are interesting to me, like if
session is new, etc.
So how can I go about creating a cookie at the end of super.doGet ?
-adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]