HTML5 表单提交实例
2024-09-01 23:07:22
html
<!DOCTYPE html>
<html>
<head>
<title>表单</title>
<meta charset="utf-8">
</head>
<body>
<form action="http://localhost:9080/html5/html5.jsp" method="post" id="myform"></form>
姓名:<input type="text" name="names" form="myform"/>
<input type="submit" value="提交" name="sub" form="myform"/>
</body>
</html>
html5.jsp
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
提交成功
</body>
</html>
效果:
2017-09-12 12:56:11
最新文章
- List Set Map
- Web jquery表格组件 JQGrid 的使用 - 5.Pager翻页、搜索、格式化、自定义按钮
- Zookeeper:通过yarn实现大型分布式管理系统
- Linux下WebSphereV8.5.5.0 安装详细过程
- js jquery 实现点击按钮后,倒计时60秒才能再次点击发送验证邮件
- EM算法 The EM Algorithm
- oc-15-self
- 关于ajax发送的数据问题
- Windows server 2008 R2 64位系统安装ZendOptimizer-3.3.0a-Wind
- UIButton图片文字控件位置自定义(图片居右文字居左、图片居中文字居中、图片居左文字消失等)
- rsync 密钥文件错误问题总结
- Git初始配置和基本使用
- Visual Studio Code 语言设置
- Nginx+uWSGI启动Django
- identity一些接口
- Oracle 查看正在执行的SQL语句
- PHP导出为Word格式
- Python 变量(下)
- Android设计中的.9.png图片
- H5新增的标签以及改良的标签
热门文章
- asp.net+扫描仪+图片上传
- Matplotlib系列(四)--plt.bar与plt.barh条形图
- php面试专题---Mysql索引原理及SQL优化
- loj#2333 「JOI 2017 Final」准高速电车
- jsc2019_qualC Cell Inversion
- 测开之路七十四:python处理kafka
- delphi 获得时间戳 毫秒数
- Entity Framework Code First (五)Fluent API - 配置关系 转载 https://www.cnblogs.com/panchunting/p/entity-framework-code-first-fluent-api-configuring-relationships.html
- 2019/11/09 TZOJ
- openssl使用