I am developing an application using Spring MVC. Application is deployed in tomcat and proxied by Apache. I have configured SSL through Apache server. All the pages are working fine with HTTPS request. But I want to keep only some of the pages should be https and other will be http.
So I need to redirect from http to https and vice versa. In both case my data should not loss. Please help me, how to do this ??
Thanks in advance.