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?