87,987
社区成员
发帖
与我相关
我的任务
分享
<form action="http://localhost:8080/user" method="post"> /*http://localhost:8080/user : 要提交到的服务器地址,post:提交方式(post,get)*/
作业1,文字类:<input type="text" name="text1" /><br> /*文字类型,name="text1" 后台获取值的名称*/
作业2,文件类:<input type="file" name="file1" /> <br> /*文件类型,选择文件,name="file1" 后台获取值的名称*/
<input type="submit" value="提交"> /*点击提交*/
</form>