I am using http and https protocol for my application with java .
Both protocols I have tested is working properly.
But I need to redirect the jsp page automatically to https contained url if there is the http in that url.
and If the user changes again to http at the same case it would automatically put the https there.
can anybody help me regarding this. ?