Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用SSL Ext和Struts 1.2.9在HTTP和HTTPS之间切换_Ssl_Struts - Fatal编程技术网

使用SSL Ext和Struts 1.2.9在HTTP和HTTPS之间切换

使用SSL Ext和Struts 1.2.9在HTTP和HTTPS之间切换,ssl,struts,Ssl,Struts,我正在使用Struts的sslext扩展来启用/禁用通过HTTPS传递数据。我实现了它,所以https只用于信用卡处理。切换到https时工作正常,但我无法让它切换回http 我已尝试执行另一个操作,其中我指定了以下内容: <set-property property="secure" value="false"/> 我还向jsp添加了以下内容: <sslext:pageScheme secure="false"/> 但我似乎仍然无法切换回HTTP 在此问

我正在使用Struts的sslext扩展来启用/禁用通过HTTPS传递数据。我实现了它,所以https只用于信用卡处理。切换到https时工作正常,但我无法让它切换回http

我已尝试执行另一个操作,其中我指定了以下内容:

 <set-property property="secure" value="false"/>

我还向jsp添加了以下内容:

 <sslext:pageScheme secure="false"/>

但我似乎仍然无法切换回HTTP

在此问题上的任何帮助都将不胜感激

谢谢,
gearoid。

我通过确保
mapping.findForward(…)
重定向到一个不受ssl保护的操作来实现这一点。
使JSP页面方案不安全是没有用的,它只意味着如果设置为true,ssl ext将在安全通道上链接JSP页面。

我通过确保
mapping.findForward(…)
重定向到一个不受ssl保护的操作来实现这一点。 使JSP页面方案不安全是没有用的,它只意味着如果设置为true,ssl ext将在安全通道上链接JSP页面