struts框架jsp文件生成html源碼

来源:互联网 发布:linux mysqldump命令 编辑:程序博客网 时间:2024/04/29 22:01

在html:form的action屬性對應著struts-config.xml中的action元素,元素設定了name屬性.將對應著html源碼中的form中name屬性.

在jsp源碼的js中,可以直接通過document.name屬性值定位到form.儘管沒有指定html:form的name屬性.

原创粉丝点击