摘要: 插入数据 ①插入一行记录 INSERT INTO TABLE_NAME(列名1,列名2,.......) VALUES(值1,值2,.......); ②插入多行记录 INSERT INTO TABLE_NAME(列名1,列名2,.......) VALUES(值1,值2,.......), ... 阅读全文
posted @ 2020-03-25 22:29 mm房 阅读(592) 评论(0) 推荐(0)
摘要: getContextPath()是jsp中获取路径的一种方式,那么获取到结果是什么呢?jsp其他获取路径的方式是怎样的呢?表示好奇,请听分解: 以访问的jsp为:http://localhost:8080/dmsd-itoo-exam-log-web/course/index.jsp,工程名为/dm 阅读全文
posted @ 2020-03-25 21:02 mm房 阅读(934) 评论(0) 推荐(0)
摘要: public class ServletContext01 extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletExcep 阅读全文
posted @ 2020-03-25 20:48 mm房 阅读(1482) 评论(0) 推荐(0)
摘要: 对于httprequrest的request.getParameter()的作用, 大致的内容如下: <form action="xxxxxxx.do" > <input name="name" value="哈哈"/> <input type="submit" value="提交"/> </for 阅读全文
posted @ 2020-03-25 20:40 mm房 阅读(4154) 评论(0) 推荐(0)