|
Struts example source code file (example8.jsp)
The Struts example8.jsp source code<%@ 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 <jsp:include page="/ajax/commonInclude.jsp"/> </head> <body> <script> var controller = { refresh : function() {}, start : function() {}, stop : function() {} }; dojo.event.topic.registerPublisher("/refresh", controller, "refresh"); dojo.event.topic.registerPublisher("/startTimer", controller, "start"); dojo.event.topic.registerPublisher("/stopTimer", controller, "stop"); </script> <form id="form"> <label for="textInput">Text to be echoed <input type=textbox id="textInput" name="data"> </form> <br/> Other Struts examples (source code examples)Here is a short list of links related to this Struts example8.jsp source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.