| Author |
Internet Explorer - error messages
|
GS Chidam
Ranch Hand
Joined: Jul 07, 2006
Posts: 34
|
|
Internet explorer gives error message like "The page contains both secure and non secure item, do you want to display non secure item" In this situation, when i click yes or no, nothing display in the page. Page cannot be display error, or Action cancelled error. I suspect this error because of iframe, currently i am using iframe. My iframe is String mainFrame ="abc.do?event=search&clearSearch=true"; <iframe name="adminframe" width="100%" height="100%" src="<%=mainFrame%>" name="main" frameborder="no"></iframe> Is there any solution to bypass that error message. Or how to change the iframe Thanks in advance
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
It sounds like you have two issues. The first is a normal warning that will happen any time to link to non-secure resources (images, etc..) from a secure page. Also an empty "src" attribute in an image tag or iframe will cause that. Second, once you agree, it sounds like your app is blowing up. MSIE will hide the real error messages coming from the server for you. To change this, click on Tools -> Internet Options -> Advanced and uncheck the "Show Friendly HTTP Errors" item. You may need to restart the browser for this to take effect.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56230
|
|
|
I see no JSP dimension to this question. Moved to the HTML forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
|
Your iframe needs to be in the https domain along with all of the images, style sheets, JavaScript files, and so on.
|
 |
 |
|
|
subject: Internet Explorer - error messages
|
|
|