老师,我跟着视频中配置的,先是找不到redis的依赖,后来我加了版本可以了,现在运行遇到这个问题了,老师帮我看一下!
spring_session.zip
老师,想问一下为什么老师创建html文件在DOCTYPE后面会自动加上配置信息,而我的只有一个DOCTYPE,是哪里需要设置嘛
public class StatmentTest { /** * 添加用户 */ private Connection connection = null; private Statement statement = null; public void insertUsers(String username,int userage){ try{ create(); //定义需要执行的SQL语句 String sql = "insert into users values(default,'"+username+"',"+userage+")"; //执行SQL,返回boolean类型值,如果SQL有结果集返回,那么返回值为true,如果没有返回值则返回false boolean execute = statement.execute(sql); System.out.println(execute); }catch (Exception e){ e.printStackTrace(); }finally { close(); } } /** * 修改用户信息 */ public void updateUsers(int userid,String username,int userage){ try{ create(); //定义SQL语句 String sql = "update users set username = '"+username+"',userage="+userage+" where userid="+userid; //执行SQL语句 int i = statement.executeUpdate(sql); System.out.println(i); }catch (Exception e){ e.printStackTrace(); }finally { close(); } } private void close(){ JdbcUtils.closeResource(statement,connection); } private void create(){ //获取Connection对象 connection = JdbcUtils.getConnection(); //获取Statement对象 try { statement = connection.createStatement(); } catch (SQLException e) { throw new RuntimeException(e); } } } //可以这么写吗?运行成了,就是不知道有没有别的问题。
这句话怎么理解。
这个主机名有什么用
老师我不太懂这个wraps函数的意义在哪? 因为既然我用了闭包和装饰器,我一定是想在不修改源码的情况下进行增加新功能从而改变结果。然后现在是我在用了闭包和装饰器的前提下,又添加了wraps函数,把结果又变回去了?
既然这样那我之间就不用闭包了 所以这个函wraps的意义在哪里
老师,这个远程热部署是将在Windows下开发的项目部署到Linux下?然后再由Linux下的Tomcat启动项目吗?
老师,这里为什么open-his这个父工程也弄成springboot,感觉maven就够了,没明白配置这个的意义是做什么
Docker Network Create --driver Dridge --subnet 192.168.0.0/16 --gateway 192.168.0.1 NAT Mynet
老师为什么我这个二次调用模块失败了???
老师,这里HttpServletRequest不是可以直接调用getServltContext吗,为什么还要先获取session呢
D:\pycharm\venv\Scripts\python.exe D:/pycharm/GUI/my01.py
File "D:/pycharm/GUI/my01.py", line 3
SyntaxError: Non-UTF-8 code starting with '\xb5' in file D:/pycharm/GUI/my01.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Process finished with exit code 1
老师,这是什么情况啊,我去调了file Encodeing 没用
老师这里的int的长度为何是11啊?系统自动给的,我看了int的数值范围后,理解不了这个位置。
so-timeout超时时间,connect-timeout连接时间吧
课上是不是说反了
所有的神经网络在训练时的x和y都一定要用Tensor数据类型吗?
老师,有没有jsp的API文档?~~~~~~~~~~~
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637