• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[S2] Secure and non-secure message appear in IE 7 using https

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm trying to create a simple ajax using struts2. The ajax is running fine tough.
But when I use https to view it. I got "This page contains secure and nonsecure items. Do you wish to continue?".

I'm really not sure why this happens. Anyway, this is my code.

<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="java.util.Date,java.text.SimpleDateFormat" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<s:head theme="ajax" debug="false"/>
<body>
<form id="report_form" name="report_form" method="get">
<s:hidden name="rpt_main_cat_id" />
<s:hidden name="rpt_cat_id" />
<s:hidden name="rpt_cat_desc_id" />
<s:hidden name="rpt_hidden_date_from" />
<s:hidden name="rpt_hidden_date_to" />
<s:hidden name="rpt_hidden_dev_group" />
<s:hidden name="rpt_hidden_dev_ip" />
<s:hidden name="rpt_hidden_ip_class" />
</form>
<s:url id="report_dynamic" action="rpt" includeParams="none">
<s aram name="task">view_on_demand_report</s aram>
</s:url>
<s iv id="contentReport" href="%{report_dynamic}" autoStart="false" listenTopics="/refreshContent" formId="report_form" showErrorTransportText="false" theme="ajax">

</s iv>

</body>
</html>

Thanks.
Note : when I remove the ajax, no pop up message will appear. Is this a bug?
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic