摘要:
注解式开发 @RequestMapping 定义请求规则 放在类上面使用/** @RequestMapping* value:所有请求的公共部分,叫做模块名称* 位置:在类的上面* */ @Controller@RequestMapping("/user")//或者@RequestMapping(" 阅读全文
摘要:
JdbcTemplate 操作数据库(修改和删除)//1、修改@Overridepublic void updateBook(Book book) { String sql = "update t_book set username=?,ustatus=? where user_id=?"; Obj 阅读全文