Hi Yassir

i could'nt find it in servlet-api spec?

https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServletResponse.html

HttpServletResponse (Servlet 3.1 API Documentation 
...<https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpServletResponse.html>
tomcat.apache.org
Extends the ServletResponse interface to provide HTTP-specific functionality in 
sending a response. For example, it has methods to access HTTP headers and 
cookies. The servlet container creates an HttpServletResponse object and passes 
it as an argument to the servlet's service methods (doGet, doPost, etc).

i did find sendLocalRedirect method in ATG Dynamo HttpServletResponse
https://docs.oracle.com/cd/E23095_01/Platform.93/ATGProgGuide/html/s0803httpservletresponse01.html
HttpServletResponse - 
Oracle<https://docs.oracle.com/cd/E23095_01/Platform.93/ATGProgGuide/html/s0803httpservletresponse01.html>
docs.oracle.com
Set Response Codes. The response code for a request is a numeric value that 
represents the status of the response. For example, 200 represents a successful 
response, 404 represents a file not found, and so on.




i didnt know struts2 supported ATG Dynamo sendLocalRedirect

Thanks for the clarification


Regards

Martin Gainty
______________________________________________



________________________________
From: Yasser Zamani <yasser.zam...@live.com> on behalf of Yasser Zamani 
<yasserzam...@apache.org>
Sent: Wednesday, April 18, 2018 2:57 AM
To: user@struts.apache.org
Subject: Re: [S2] ExecuteAndWait Interceptor // Only re-submit token parameters 
on refresh?



On 4/18/2018 1:21 AM, Martin Gainty wrote:
> MG>AFAIK a redirect terminates the old session and creates a new session

I think redirect to same domain:ip in same browser tab page should keep
session.

> MG>a better alternative is to implement ChainingInterceptor with <result 
> type="chain"> e.g.

As Struts uses action name for the key of the background process saved
into session, I think chain doesn't work for this requirement.

Regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to