Home > Web Front-end > HTML Tutorial > jsp页面Form表单不写Action=“”时表单依旧可以被提交_html/css_WEB-ITnose

jsp页面Form表单不写Action=“”时表单依旧可以被提交_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:02:55
Original
1816 people have browsed it

jsp页面Form表单不写Action=“”时表单依旧可以被提交到某个*action.java文件,请问,这个提交的规则是什么啊?


回复讨论(解决方案)

默认提交到当前地址

可以通过设置url来实现啊

像1楼说的,如果不写action默认是提交到当前url。要找到是哪个action需要看你的配置文件 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template