It's not a secret anymore!*
The moose likes Servlets and the fly likes Supressing the message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Supressing the message" Watch "Supressing the message" New topic
Author

Supressing the message

Mary Cole
Ranch Hand

Joined: Dec 02, 2000
Posts: 362
Hi,
I have a page where in there are http and https links and when ever i click on any link i get the following msg

This page contains both secure and nonsecure items.
Do you want to display the nonsecure items?

How do I supress this message from displaying on the browser??

THx in advance
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
Unless I am mistaken (Which is certainly a possibility!), I don't believe you can suppress this message from the server side, as it is a setting on the browser client itself.

This is just a guess at a possible solution, as I did not have time to test it, but have you tried making all of the links on your page http links, and using a controller to redirect the client to https links as needed.


“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Yup, it is up to the user to set up his browser to not display that message.
 
jQuery in Action, 2nd edition
 
subject: Supressing the message
 
Similar Threads
secure nonsecure warning in IE
HTTPS - page contains both secure and nonsecure - DOJO 0.4 and IE 6
Secure and nonsecure items warning. CSS Trouble?
Secure and Nonsecure Items
Removing warning message for nonsecure items