How to change the URL of a page???
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sreekanth_Suruvu
Posted On:   Wednesday, January 10, 2007 12:24 AM

I have a URL that takes me to login page...


Say ... http://localhost:7001/sriku/login.jsp


Now before the content of page is displayed, I need to check the URL in the same jsp, if it contains 'http', I need to change the URL to 'https'...


I do this check in


I need to change the URL and refresh the page...


Please suggest me some solutions...


Thanks in advance,


Sriku

Re: How to change the URL of a page???

Posted By:   Anonymous  
Posted On:   Saturday, January 13, 2007 04:38 AM

Change your page's body tag to following






this will call following the javascript mehtod






it will load the same URL with HTTPS
About | Sitemap | Contact