Http://www.daily-english.com.cn /? Action-viewnews-itemid-466
SUTs tag
HTML: form considerations
When using HTML: form, you must specify the action attribute, especially when using
The specified action for HTML tags should be found in XML and the actionform displayed on the page
Matches the. Do engine used in the action. Otherwise, JSP errors will occur.
Basic JSP operations in SUTs
File HeaderCode
<% @ page contenttype = "text/html; charset = gb2312" %>
<% request. setcharacterencoding ("gb2312 "); %>
<% @ taglib uri = "/WEB-INF/suts-bean.tld" prefix = "Bean" %>
<% @ taglib uri = "/WEB-INF/suts-html.tld" prefix = "html" %>
<% @ taglib uri = "/WEB-INF/suts-logic.tld" prefix = "logic" %>
<% @ taglib uri = "/WEB-INF /suts-template.tld "prefix =" template "%>
general information output
drop-down box output
note: all HTML tags (that is, those that need to be displayed in Form) must be included in the container
name = "[name attribute of form-bean segment in XML]"
property = "[use an attribute of actionform as the value of option, this attribute is collection,] "
labelproperty =" [use an actionform attribute as the option text, which is collection,] "
/>
use of logical stacks
id = "[a custom Record ID represents the encapsulation of a single record. This ID should be associated with Bean: in write, the name attribute is the same] recoreid "
name =" [name attribute of form-bean segment in XML] "
property =" [Action with collection attribute name] "
offset =" [displayed offset] "
length =" [number of records displayed] "
name = "[a user-defined encapsulation Record ID, which corresponds to the bean: in write, the name attribute is the same] recoreid "property =" [attributes of the actionform mapped to a single record] recordname "/>