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

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

WBOY
WBOYOriginal
2016-06-21 09:02:551751browse

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


回复讨论(解决方案)

默认提交到当前地址

可以通过设置url来实现啊

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

Statement:
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