I am working on an portal development which involves travel bookings. One of the pages which is a secured one has got a link back to the homepage(supposed to be non-secured one). The problem here is the link to the homepage is getting converted into a secured one(ie https protocol) from an non-secured one(ie http). When a user clicks on the homepage link, then the user is taken to the secured homepage with a security warning from the browser.
This works fine in our development,system, Uat testing servers, but fails in the Production server.
UI developed in JSP
If a user hits the homepage with an url say, http://www.xyz.com
and in between enters an secured page having the same url ie https://www.xyz.com.
From this page, the link to the homepage is supposed to be a non-secured one ie http://www.xyz.com
. This url is read from the properties file. Somewhat the url is getting converted into https://www.xyz.com
which should not be the case.
Can anyone let me know waht could be the problem here