-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Joe,
On 9/8/16 3:40 PM, Joe Tseng wrote:
> I inherited a clusterf*** of a mess disguised as a
> JSP/servlet-based MVC-ish app without the benefit of using Spring
> or Struts or any sort of framework. No web services, but lots of
> $.ajax() POST c
I inherited a clusterf*** of a mess disguised as a JSP/servlet-based
MVC-ish app without the benefit of using Spring or Struts or any sort of
framework. No web services, but lots of $.ajax() POST calls to servlet
methods. I need to get this stabilized before I can redo everything using
REST/Angular
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Joe,
On 9/8/16 1:38 PM, Joe Tseng wrote:
> FYI I'm using Tomcat v7.x.
>
> I guess I misunderstood what happens when I use sendRedirect() - it
> sends a new request, not a new response - but the effect is the
> same. That was what I came away with w
FYI I'm using Tomcat v7.x.
I guess I misunderstood what happens when I use sendRedirect() - it sends a
new request, not a new response - but the effect is the same. That was what
I came away with when I read this:
http://javarevisited.blogspot.com/2011/09/sendredirect-forward-jsp-servlet.html
In
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Joe,
On 9/6/16 3:36 PM, Joe Tseng wrote:
> I inherited a codebase that calls
> HttpServletResponse.sendRedirect() to another page after a user is
> successfully logged in. I want to be able to insert a header value
> before that redirection is execu
On 9/8/2016 4:47 AM, Terence M. Bandoian wrote:
On 9/6/2016 2:36 PM, Joe Tseng wrote:
All,
I inherited a codebase that calls HttpServletResponse.sendRedirect() to
another page after a user is successfully logged in. I want to be
able to
insert a header value before that redirection is execute
All,
I inherited a codebase that calls HttpServletResponse.sendRedirect() to
another page after a user is successfully logged in. I want to be able to
insert a header value before that redirection is executed. I tried to
simply add a HttpServletResponse.addHeader()/.setHeader() to the response
obj