Hi Jeromy, thanks for the respose.
The response is already committed in the action class (before the Result is
executed). In the execute() method, the result of 'response.isCommitted()'
is true. So I think the response is committed even before getting to the
Result.
According to J2EE documentat
I have a JSP that uses an ActionTag to call a Struts 2 action
class directly from the JSP. But in the action class, the HTTP response
has already been committed. This makes it impossible for me to set cookies
from my action class.
I tested this by calling HttpServletResponse.isCommitted() is m
2 matches
Mail list logo