【Android】 安卓实训课程知识点
MeasureSpec.makeMeasureSpec https://blog.csdn.net/btt2013/article/details/53447649 View.VISIBLE、INVISIBLE、GONE的区别 https://blog.csdn.net/qq_41105058/article/details/82257261 notifyDataSetChanged https://blog.csdn.net/thomassamul/article/details/81150
CentOS 7防火墙操作
CentOS中安装了某些服务,但是通过远程无法访问,则有可能是防火墙没有打开响应的端口造成的限制。 一、查看防火墙运行状态 # systemctl status firewalld
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since 五 2019-06-28 14:41:23 CST; 8h ago
/
获取javaweb的路径
java类获取classpath路径 获取WEB-INF/class路径。 this.getClass().getResource("/").getPath() 根据user.dir获取的路径在java项目中获取项目路径,而在web项目中获取的是tomcat/bin下面。 System.getProperty("user.dir") Servlet中获取项目路径 获取项目路径 request.getSession().getServletContext().getRealPath("") JS
今日推荐
周排行