zoukankan      html  css  js  c++  java
  • 二十三、常用的标签:见源码

    二十三、常用的标签:见源码

    <!--Struts2标签:表单 -->

        <s:form id="userAction_save_do" name="Form1" action="addUser" namespace="/user"

            enctype="multipart/form-data">

                

                

                        <!--struts 标签: <s:textfield/> -->

                        登录名:<s:textfield name="logonName" id="userAction_save_do_logonName" class="bg"></s:textfield>

                                

                        <!--struts 标签:<s:password/> -->

                        密码:<s:password name="logonPwd" id="logonPwd"></s:password>

                    

                        <!--struts 标签:<s:textfield/> -->

                        用户姓名:<s:textfield name="userName" id="userAction_save_do_userName" class="bg"></s:textfield>

                    

                        <!--struts 标签:<s:radio /> ContextMap中存储信息 -->

                         性别 <s:radio name="sex" id="sex" list="#{'male':'','female':''}" value="{'male'}"></s:radio>

                    

                        <!--struts 标签: <s:select/> 在值栈的栈顶存储信息 -->

                        学历:<s:select name="education" id="education" list="{'博士','硕士','本科','专科','高中','胎教'}" headerKey=""

                            headerValue="--请选择--"></s:select>

                

                        <!--struts 标签: <s:textfield/>-->

                        出生日期:<s:textfield name="birthday" size="20" value="" readonly="readonly" id="birthday"></s:textfield>

                    

                        <!--struts 标签:<s:textfield/> -->

                        电话:<s:textfield name="telephone" value="" id="telephone"></s:textfield>

                    

                        <!-- Struts2 的标签:checkbox集合 在值栈的栈顶存储信息-->

                        爱好:<s:checkboxlist name="interests" list="{'看电影','旅游','健身','购物','睡觉'}"></s:checkboxlist>

                    

                        <!--struts 标签:<s:file/> -->

                        简历资料:<s:file name="upload" size="30" value="" id="userAction_save_do_upload"></s:file>

                    

                        <!--struts 标签:<s:textarea/> -->

                        备注:<s:textarea name="remark" cols="30" rows="3" id="userAction_save_do_remark" style="WIDTH: 96%"></s:textarea>

                    </s:form>

     

  • 相关阅读:
    使用mybatis如果类属性名和数据库中的属性名不一样取值就会为null
    学习mybatis时出现了java.io.IOException: Could not find resource EmployeeMapper.xml
    配置mybatis-config.xml出现过很诡异的现象
    mybatis学习(一)
    报错cannot be cast to javassist.util.proxy.Proxy
    列车调度
    三角形
    土豪聪要请客(stol)
    Jams倒酒(pour)
    Data
  • 原文地址:https://www.cnblogs.com/Prozhu/p/5886554.html
Copyright © 2011-2022 走看看