JAVA成长
计科小帅哥
郑大计科在读。
展开
-
导入maven工程一键下载所需jar包
导入maven工程一键下载所需jar包并解决pom文件中的问题原创 2020-02-04 18:26:48 · 203 阅读 · 0 评论 -
过滤器filter
https://blog.csdn.net/yuzhiqiang_1993/article/details/81288912转载 2019-11-20 19:21:31 · 99 阅读 · 0 评论 -
XT js创建对象的问题
打个补丁啦,防止以后忘记。js的语法真的好随意,今天写js代码创建对象忘了怎么写,真的难受。打个补丁在这里:var Student = { stuName:"西施", //我求求你一定要记得这里是冒号不是等号啊啊啊! stuNo:"20178464120",//我求求你一定要记得这里是逗号不是分号啊啊啊! study:function() = { console.log("...原创 2019-10-15 16:22:30 · 195 阅读 · 0 评论 -
Multiple annotations found at this line: - javax.servlet.jsp.PageContext cannot be resolved to a typ
报错。Multiple annotations found at this line: - javax.servlet.jsp.PageContext cannot be resolved to a type…解决方法:buildpath - add extenal jar包选中tomcat目录——lib——servlet-api和jsp-api引入即可。注意:这个error在WEB文件...原创 2019-09-26 15:41:15 · 593 阅读 · 0 评论 -
关于${ctxPath}和@webServlet
在login.jsp的form表单中:对应的LoginServlet.java中:@WebServlet("/doLogin.action")1.¥{ctxPath}是一种寻址方式。这里用的是绝对路径。2.@WebServlet(“路径”)该注解的作用等价于 在web.xml中配置的该servlet的元素中的配置...原创 2019-09-22 19:13:33 · 5000 阅读 · 1 评论 -
过滤器filter相关
https://blog.csdn.net/zhaozheng7758/article/details/6105749原创 2019-09-19 20:35:32 · 70 阅读 · 0 评论 -
Summer Review and Course Design —— 1. Reflection and connection pool
I am so lazy…Well, I’m back after a month.The new section of my blog is the Summer Review and Course Design.Today I will describe the Reflection and Connection pool in JAVA.1.Reflection原创 2019-09-02 22:00:58 · 140 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:7. The vo/DAO/factory codes.
The past three articals is the fundamental of this one.Today I will finish the Model.Section1:Finish the development of the data background.(1) compile the VO class. (Admin.java class)New a new p...原创 2019-07-27 17:08:38 · 81 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:9.A bug
HTTP error: 405The method POST could not be used.Resolution:in the form tablechange the <form method = "post"to the <form method = "get"原创 2019-07-31 20:40:12 · 149 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:8.login business&control code
Finished compiling the data layer code after playing with my friends for two days, exhausted.Well, the deadline is drawing near.I’ve to go now.In the last blog, there’s a problem about the pstmt.p...原创 2019-07-31 18:09:12 · 195 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:3.New a dynamic web project
This artical will describe the following three things:section1: the creation about a new javaweb project in the eclipse IDEsection2: the import method of the jar package needed in the program.secti...原创 2019-07-22 00:30:03 · 92 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:2.JDBC setting
According to the project requirements, the table in the mysql should be the following four:(1)admin(2)adminlogs(3)room(4)tenant(client)open the navicat for mysql, it should be typed as the follow...原创 2019-07-21 00:26:31 · 92 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:6.some about JAVA factory mode
some about JAVA factory mode转载 2019-07-24 16:50:01 · 92 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:5.DAO mode summary
DAO mode summary待编辑原创 2019-07-24 16:33:50 · 131 阅读 · 0 评论 -
Review and start again——First Step JAVA web Program hotelmanagement:1.JDBC
In a whole program of java, the JDBC, a.k.a JAVA DataBase Connectivity is a problem that cannot be avoided. So today I will integrate something about the JDBC based on the the programe hotelmanagement...原创 2019-07-19 17:05:27 · 82 阅读 · 0 评论 -
Review and start again——First Period JAVA web Program hotelmanagement:4. MVC mode summary
-------------------------------------------------------------------------原创 2019-07-23 23:45:07 · 146 阅读 · 0 评论