来一个简单点的表单提交

<body>
<h1>我要提问</h1>
<h2><a href="${ctx}">返回首页</a></h2>
<form action="${ctx}/question}">
问题:<input type="text" name="title">
<br>
问题:<input type="text" name="detailDesc">
</br>
<input type="submit" value="保存问题">
</form>
</body>

 

posted @ 2019-10-24 10:10  牧阳人  阅读(286)  评论(0编辑  收藏  举报