JSP高手请进
时间:2011-09-07
来源:互联网
本人大四学生,最近在做一个JSP的论文在线管理系统[code=HTML][/code],我想知道怎么吧一个界面中将要输入的信息导入一个数据库中,以下是代码
<th width=160>毕业设计(论文)题目</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>院 (部)</th>
<th width=300><input type=text value=""></th>
<th width=160>指导老师</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>专业</th>
<th width=300><input type=text value=""></th>
<th width=160>班级</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>学生学号</th>
<th width=300><input type=text value=""></th>
<th width=160>学生姓名</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>课题来源</th>
<th width=300><input type=text value=""></th>
<th width=160>课题类别</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>课题来源</th>
<th width=300><input type=text value=""></th>
<th width=160>课题类别</th>
<th width=300><input type=text value=""></th>
</tr>
求JSP高手指教
<th width=160>毕业设计(论文)题目</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>院 (部)</th>
<th width=300><input type=text value=""></th>
<th width=160>指导老师</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>专业</th>
<th width=300><input type=text value=""></th>
<th width=160>班级</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>学生学号</th>
<th width=300><input type=text value=""></th>
<th width=160>学生姓名</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>课题来源</th>
<th width=300><input type=text value=""></th>
<th width=160>课题类别</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>课题来源</th>
<th width=300><input type=text value=""></th>
<th width=160>课题类别</th>
<th width=300><input type=text value=""></th>
</tr>
求JSP高手指教
作者: kill548759 发布时间: 2011-09-07
[Quote=引用楼主 kill548759 的回复:]
本人大四学生,最近在做一个JSP的论文在线管理系统[code=HTML][/code],我想知道怎么吧一个界面中将要输入的信息导入一个数据库中,以下是代码
<th width=160>毕业设计(论文)题目</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>院 (部)</th>
……
[/Quote]
外面加个form表单,然后写个提交按钮,直接提交到后台action就行了。
然后action里面拿到对应的文本框值,插入到数据库中。
别忘了给input标签加上name属性。
本人大四学生,最近在做一个JSP的论文在线管理系统[code=HTML][/code],我想知道怎么吧一个界面中将要输入的信息导入一个数据库中,以下是代码
<th width=160>毕业设计(论文)题目</th>
<th width=300><input type=text value=""></th>
</tr>
<tr>
<th width=160>院 (部)</th>
……
[/Quote]
外面加个form表单,然后写个提交按钮,直接提交到后台action就行了。
然后action里面拿到对应的文本框值,插入到数据库中。
别忘了给input标签加上name属性。
作者: MuBeiBei 发布时间: 2011-09-07
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28