Upgrading from Struts 2.5 to Struts 6 issue

100 Views Asked by At

This Ajax call is not working when upgraded to Struts 6.3.0.2. I have included JQuery plugin in pom.xml. I think the problem is sj:div. Any help on this is so much appreciated

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="s" uri="/struts-tags"%>
    <%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<s:url action="test_actionMethod" var="desUrl" />
        <s:form id="getActionForm" cssStyle="display:none;">
</s:form>

<sj:div cssStyle="text-align:center" id="test" href="%{desUrl}" formIds="getActionForm" loadingText="Loading..." indicator="indicator" listenTopics="/refresh" escapeHtmlBody="true">
</sj:div>
1

There are 1 best solutions below

0
Kiran On

There is a custom filter which is blocking jquery.struts2.min.js?s2j=5.0.3