I have several jsp pages that are referenced in an SSL server, and non-SSL server. To avoid the "this document contains some unencrypted data" error, I want to have it look at the HTTPS variable apache sets and see if its in secure mode.

JIA Java Italian Association

There is a request method getScheme()that gives you the scheme used for the request (i.e. http or https). Maybe could be the easiest solution.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact