aspose file tools*
The moose likes JSP and the fly likes automaticall set https in url with jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "automaticall set https in url with jsp" Watch "automaticall set https in url with jsp" New topic
Author

automaticall set https in url with jsp

Satchidananda Mohanty
Ranch Hand

Joined: Mar 12, 2008
Posts: 77

Hi there.

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. ?

Thanks in advance.
zeet


Zeet

SCJP 6.0
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39885
    
  28
You appear to have arrived at the wrong forum. Moving thread.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Perhaps a filter.
Satchidananda Mohanty
Ranch Hand

Joined: Mar 12, 2008
Posts: 77

thanks guys
I solved that by using scriptlet and if else condition.
regards
zeet
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: automaticall set https in url with jsp