上一页 1 2 3 4 5 6 7 8 ··· 39 下一页
摘要: <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter"></bean> 阅读全文
posted @ 2021-06-12 13:25 武卡卡 阅读(464) 评论(0) 推荐(0) 编辑
摘要: springmvc-config.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/20 阅读全文
posted @ 2021-06-10 14:31 武卡卡 阅读(1322) 评论(0) 推荐(0) 编辑
摘要: <!-- 指定响应体返回类型和编码 , 解决乱码????的问题 --> <mvc:annotation-driven> <mvc:message-converters register-defaults="true"> <bean class="org.springframework.http.co 阅读全文
posted @ 2021-06-01 15:50 武卡卡 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 静态资源过滤 spring-config.xml <!-- 3,(1)让Spring MVC不处理静态资源 。(2)加载静态资源,也称为资源过滤 --> <mvc:default-servlet-handler /> 前端加载 jsp <%-- ${pageContext.request.conte 阅读全文
posted @ 2021-06-01 10:28 武卡卡 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1:右击项目工程名称2:Properties3: Jvav Build Path4: Libraries5: Add External JARS6: 找到“E:\apache-tomcat-9.0.43\lib\servlet-api.jar” 7:添加既可 阅读全文
posted @ 2021-04-22 20:15 武卡卡 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1,修改 pureftp的配置文件 ForcePassiveIP 为服务器的ip , 并去掉 # 2,FileZilla 使用明文连接 阅读全文
posted @ 2021-04-18 20:56 武卡卡 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-07 22:29 武卡卡 阅读(392) 评论(0) 推荐(0) 编辑
摘要: request.getSession().getServletContext().getRealPath("upload/" ); 阅读全文
posted @ 2021-03-01 20:25 武卡卡 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: Index.jsp <a href="servlet/HelloServlet">servlet/HelloServlet</a><br> <a href="<%=request.getContextPath() %>/servlet/HelloServlet">HelloServlet</a> < 阅读全文
posted @ 2021-02-26 20:14 武卡卡 阅读(116) 评论(0) 推荐(0) 编辑
摘要: package util; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class DBHelper { // 0,导入jar包 // 1,数据库驱动 阅读全文
posted @ 2021-02-26 14:28 武卡卡 阅读(121) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 39 下一页