<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> Ajax Examples
Div 1

Div 2


Update 'Div 1' and use red highligh to notify user of changed content

Update 'Div 1' and 'Div 2', publish topic '/before' and '/after', use indicator

Try to update 'Div 1', publish '/error', use custom error message

Update 'Div 1', use custom loading message

Update 'Div 2' and execute returned javascript

Update 'Div 2' using a custom handler



Update 'Div 2' with the content of the textbox