/ajax/remotediv/example5.jsp
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<html>
<head>
<title>Ajax Examples</title>
<jsp:include page="/ajax/commonInclude.jsp"/>
</head>
<body>
<s:url var="ajaxNoUrl" value="/AjaxNoUrl.jsp" />
<sx:div
id="error"
cssStyle="border: 1px solid yellow;"
href="/AjaxNoUrl.jsp"
delay="1000"
errorText="Could not contact server"
loadingText="reloading">loading now</sx:div>
<s:include value="../footer.jsp"/>
</body>
</html>