![]() |
|
struts
Simple Method to Handle Mixed Protocol Page Transitions in Struts 1.x
Submitted by drew on Tue, 08/25/2009 - 15:24It's always a pain when you try to mix secure (http) and (https) pages in Struts 1.x. Struts doesn't provide a built-in support for that. So here's a little Servlet Filter that can help in these kind of situations. The beauty of this approach is that it's non-intrusive so you don't really need to make any changes to your Struts application. All you need to do is put the Strut Action Names of the actions that need to be served securely in secureActions Set and the actions that don't care about the request scheme in dependantActions Set and Voila! ....

What We Do