- 
        1. Re: Weird behaviour in HTTPS modejaikiran Dec 1, 2011 2:15 AM (in response to arunvg)1 of 1 people found this helpfulArun V G wrote: Can we catch this in our application and throw an error page. Any hint See the "Create default error page" section here http://weblogs.java.net/blog/crazybob/archive/2004/02/exception_handl.html. You'll also find similar examples if you do a search for "error pages in web.xml" (or some similar search term). 
- 
        2. Re: Weird behaviour in HTTPS modearunvg Dec 2, 2011 5:08 AM (in response to jaikiran)@ jai Thanks for the response. 
 The first time we are changing from https to http we are not getting the error
 The same thing can be seen in the below link
 https://community.jboss.org/login.jspa
 Afterloading the login page change the url in browser to
 http://community.jboss.org/login.jspa
 Here the browser refreshes to load the correct url .We want to acheive exactly this
 In our application in the first request ,while debugging in the webfilter we could find that the request is coming as secure. Is there any way to identify this scenario
 
    