!TCL=2, !TITLE=Jakarta Struts !SORT=N !CHARSET=ANSI !TEXT=Struts-Templates...................................................................................................................................................... .................................................. ! !TEXT= struts:Action package ; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; /** * * * @author * @version */ public class \^Action extends org.apache.struts.action.Action { /** * * */ public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { return mapping.findForward("success"); } } ! !TEXT= struts:ActionForm package ; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.upload.FormFile; /** * * * @author * @version */ public class UploadForm extends ActionForm { protected String \^; /** * * @param */ public void set(String ) { = ; } /** * * @return */ public String get() { return ; } } ! !TEXT= struts:struts-config.xml ! !TEXT= struts:web.xml action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 3 detail 3 1 action *.do ! !TEXT=html-TagLib...................................................................................................................................................... .................................................. ! !TEXT= html:TagLib-Descriptor <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"> ! !TEXT= html:base ! !TEXT= html:button ! !TEXT= html:cancel ! !TEXT= html:checkbox ! !TEXT= html:errors ! !TEXT= html:file ! !TEXT= html:form ! !TEXT= html:frame ! !TEXT= html:hidden ! !TEXT= html:html ! !TEXT= html:image ! !TEXT= html:img ! !TEXT= html:javascript ! !TEXT= html:link ! !TEXT= html:messages ! !TEXT= html:multibox ! !TEXT= html:option ! !TEXT= html:options ! !TEXT= html:optionsCollection ! !TEXT= html:password ! !TEXT= html:radio ! !TEXT= html:reset ! !TEXT= html:rewrite ! !TEXT= html:select ! !TEXT= html:submit ! !TEXT= html:text ! !TEXT= html:textarea ! !TEXT=bean-TagLib...................................................................................................................................................... .................................................. ! !TEXT= bean:TagLib-Descriptor <%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"> ! !TEXT= bean:cookie ! !TEXT= bean:define ! !TEXT= bean:header ! !TEXT= bean:include ! !TEXT= bean:message ! !TEXT= bean:page ! !TEXT= bean:parameter ! !TEXT= bean:resource ! !TEXT= bean:size ! !TEXT= bean:struts ! !TEXT= bean:write ! !TEXT=Logic-TagLib...................................................................................................................................................... .................................................. ! !TEXT= logic:TagLib-Descriptor <%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"> ! !TEXT= logic:empty \^ ! !TEXT= logic:equal \^ ! !TEXT= logic:forward ! !TEXT= logic:greaterEqual \^ ! !TEXT= logic:greaterThan \^ ! !TEXT= logic:iterate \^ ! !TEXT= logic:lessEqual \^ ! !TEXT= logic:lessThan \^ ! !TEXT= logic:match \^ ! !TEXT= logic:messagesNotPresent \^ ! !TEXT= logic:messagesPresent \^ ! !TEXT= logic:notEmpty \^ ! !TEXT= logic:notEqual \^ ! !TEXT= logic:notMatch \^ ! !TEXT= logic:notPresent \^ ! !TEXT= logic:present \^ ! !TEXT= logic:redirect \^ ! !TEXT=Tiles-TagLib...................................................................................................................................................... ....................................................................................................\^ ! !TEXT= tiles:TagLib-Descriptor <%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"> ! !TEXT= tiles:add ! !TEXT= tiles:definition ! !TEXT= tiles:get ! !TEXT= tiles:getAsString ! !TEXT= tiles:importAttribute ! !TEXT= tiles:initComponentDefinitions ! !TEXT= tiles:insert ! !TEXT= tiles:put ! !TEXT= tiles:putList ! !TEXT= tiles:useAttribute !