|
Struts example source code file (struts-ajax.xml)
The Struts struts-ajax.xml source code<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <package name="ajax" extends="struts-default"> <action name="AjaxTest" class="org.apache.struts2.showcase.ajax.AjaxTestAction"> <result>/ajax/AjaxResult.jsp </action> <action name="AjaxRemoteLink" class="org.apache.struts2.showcase.ajax.AjaxTestAction"> <result>/ajax/AjaxResult2.js </action> <action name="AjaxRemoteForm" class="org.apache.struts2.showcase.ajax.AjaxTestAction"> <result>/ajax/AjaxResult3.jsp </action> <action name="Test1"> <result>/ajax/remoteforms/test2.jsp </action> <action name="Test2"> <result>/ajax/remoteforms/test3.jsp </action> <action name="Test3"> <result>/ajax/testjs.jsp </action> <action name="JSONList"> <result>/ajax/JSONList.js </action> <action name="tree"> <result>/ajax/tree/tree.jsp </action> <action name="getCategory" class="org.apache.struts2.showcase.ajax.tree.GetCategory"> <result>/ajax/tree/getCategory.jsp </action> <action name="toggle" class="org.apache.struts2.showcase.ajax.tree.Toggle"> <result>/ajax/tree/toggle.jsp </action> <action name="example4"> <result type="freemarker">/ajax/tabbedpanel/example4.ftl </action> <action name="example5" class="org.apache.struts2.showcase.ajax.Example5Action"> <result name="input">/ajax/tabbedpanel/example5.jsp <result>/ajax/tabbedpanel/example5Ok.jsp </action> </package> <package name="ajaxNoDecorate" namespace="/nodecorate" extends="struts-default"> <!-- example 4 --> <action name="panel1" class="org.apache.struts2.showcase.ajax.Example4ShowPanelAction" method="panel1"> <result type="freemarker">/ajax/tabbedpanel/nodecorate/panel1.ftl </action> <action name="panel2"> <result type="freemarker">/ajax/tabbedpanel/nodecorate/panel2.ftl </action> <action name="panel3"> <result type="freemarker">/ajax/tabbedpanel/nodecorate/panel3.ftl </action> <action name="panel2Submit" class="org.apache.struts2.showcase.ajax.Example4ShowPanelAction" method="panel2"> <result type="freemarker">/ajax/tabbedpanel/nodecorate/panel2Submit.ftl </action> <action name="panel3Submit" class="org.apache.struts2.showcase.ajax.Example4ShowPanelAction" method="panel3"> <result type="freemarker">/ajax/tabbedpanel/nodecorate/panel3Submit.ftl </action> <action name="AutocompleterExample" class="org.apache.struts2.showcase.ajax.AutocompleterExampleAction"> <result type="freemarker">/ajax/options.ftl </action> <action name="quizAjax" class="org.apache.struts2.showcase.validation.QuizAction"> <interceptor-ref name="jsonValidationWorkflowStack"/> <result name="input">/validation/quiz-ajax.jsp <result>/validation/quiz-success.jsp </action> <action name="getNodes" class="org.apache.struts2.showcase.ShowAjaxDynamicTreeAction"> <result type="freemarker">/tags/ui/treeExampleAjaxDynamic.ftl </action> </package> </struts> Other Struts examples (source code examples)Here is a short list of links related to this Struts struts-ajax.xml 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.