Dear Friends,
 
 
I am using S2 with SSL Plugin (google).
 
I have "secure.action" in namespace="/secured" package which extends
"ssl-default" in struts.xml.
 
And, I have "normal.action" in package which extends "struts-default" in
struts.xml.

In URL, I call the action as http://localhost/secured/secure.action

This immediately switches the protocol to "https". Cool!

In my view page of "secure.action", I have link to non-ssl action,
"normal.action".

I want to switch back to "http" when accessing "normal.action".

I don't want to place the link in view page as
<http://localhost/normal.action> http://localhost/normal.action (ie., with
http prefix).

I want to say, something like, href="/normal.action". 

I observed that, the protocol still stays as "https" coming back from
"secure.action" to "normal.action". I want to change it automatically.

Thanks in advance. Please let me know.

Regards,
Prasad

 

 

Reply via email to