我正在为 ajax 和小部件使用 Struts2 jQuery Plugin 3.2.1。当我使用 sj 动作时,我的动作需要时间来执行。没有 Struts2 jQuery tags ,它工作正常。我在网上搜索,但找不到合适的答案。请分享您的观点。提前致谢。
在本地服务器中它工作正常。
sj 动作意味着,当我单击 struts 2 jquery 按钮标签时,它会调用一个动作。
花费时间意味着,目标jsp需要花费时间来加载。
<s:url id="increasedaycount" action="AddDayAction"/> <!--when i click on this button one action call but in target result jsp taking time to be appear --> <sj:submit href="%{increasedaycount}" button="true" value="Add Day" indicator="indicator" targets="idRightMainDiv" ></sj:submit> <img id="indicator" src="images/indicatorS.gif" alt="Loading..." style="display:none"/>