![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javaweb
全村就我帅
计算机系研究生,正在学机器学习!!!
展开
-
JSON与FastJSON简单使用
JavaScript中使用JSON --------------------------------JavaScript中使用JSON-----------------<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>原创 2019-02-09 09:49:32 · 143 阅读 · 0 评论 -
利用java反射创建通用Servlet
package web;import java.io.IOException;import java.lang.reflect.Method;import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;i...原创 2019-02-17 11:49:43 · 450 阅读 · 0 评论 -
小程序接收后端JSON并反序列化
wx.request({ url: 'http://localhost:8080/shugao/VServlet', //这里''里面填写你的服务器API接口的路径 method: 'GET', // 声明GET请求 data:{ ddd:"123" }, dataType:JSON, header: { 'content-type': 'applicati...原创 2019-02-22 18:07:14 · 3079 阅读 · 0 评论 -
DButils
配置db.propertis文件 这里需要填写自己的数据库地址,名字密码等等,顺序和参数名最好不要改变 ————————————————配置类 JDBCutil类————————————————package com.JDBCutil;import java.io.FileInputStream;import org.apache.tomcat.dbcp....原创 2019-02-19 11:25:17 · 107 阅读 · 0 评论 -
SpringMVC一些基本配置
——————————————————pom.xml——————————————————————<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven...转载 2019-02-20 11:08:11 · 107 阅读 · 0 评论 -
Servlet无法获取小程序data的问题
getMessage:function(){ var self = this wx.request({ url: 'http://localhost:8080/_war_exploded/TextServlet', data: { x:"123"//设一个变量 }, header: {}, method:...原创 2019-05-19 20:37:51 · 172 阅读 · 0 评论