新手的jsp问题
来源:百度知道 编辑:UC知道 时间:2024/09/18 05:10:01
我想通过提交按钮由register_new_user.jsp来处理表单
<form action="register_new_user.jsp" method="post" onsubmit="return checkform
(this);">
但是点提交以后总是出现下载的画面
高手指教一下 谢谢
<form action="register_new_user.jsp" method="post" onsubmit="return checkform
(this);">
但是点提交以后总是出现下载的画面
高手指教一下 谢谢
<form action="register_new_user.jsp" method="post">
<input type="submit" value="提交">
</form>
你没有设置contentType为 text/html造成的
加上
<%@page contentType="text/html;charset=gbk"%>