Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

automaticall set https in url with jsp

 
Satchidananda Mohanty
Ranch Hand
Posts: 78
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Campbell Ritchie
Sheriff
Pie
Posts: 49411
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You appear to have arrived at the wrong forum. Moving thread.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps a filter.
 
Satchidananda Mohanty
Ranch Hand
Posts: 78
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks guys
I solved that by using scriptlet and if else condition.
regards
zeet
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic