Hi,
I'm trying to create a simple ajax using struts2. The ajax is running fine.But 
I'm trying to fix this error message when using https server. The alert message 
is "This page contains both secure and nonsecure items.

Do you wish to display the nonsecure items?".

Here's 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:param name="task">view_on_demand_report</s:param>
        </s:url>
    <s:div id="contentReport" href="%{report_dynamic}" autoStart="false" 
listenTopics="/refreshContent" formId="report_form" 
showErrorTransportText="false" theme="ajax">
   
    </s:div>

</body>
</html>

Anyone knows what am I doing wrong here?
       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Reply via email to