Easter79 Easter79
3年前
tomcat 添加管理用户
修改conf中的 tomcatusers.xml,添加叶夏内容<rolerolename"tomcat"/<rolerolename"role1"/<rolerolename"manager"/<rolerolename"admin"/<rolerolename"adming
Easter79 Easter79
3年前
tomcat 自动进入工程目录及动态发布关闭
tomcat/conf/server.xml<Hostname"localhost"appBase"webapps" unpackWARs"true"autoDeploy"true"<!增加以下内容<Contextpath"/"docBase"appName"reloadable"fa
Easter79 Easter79
3年前
tomcat 设置jndi
tomcat设置jndi全局设置修改tomcat下的conf/context.xml,新增以下内容<Resourcename"jdbc/mdidata"auth"Container"typ
Python进阶者 Python进阶者
4年前
Python解析库lxml与xpath用法总结
本文主要围绕以xpath和lxml库进行展开:一、xpath概念、xpath节点、xpath语法、xpath轴、xpath运算符二、lxml的安装、lxml的使用、lxml案例一、xpath1.xpath概念XPath是一门在XML文档中查找信息的语言。XPath使用路径表达式在XML文档中进行导航。XPath包含一个标
Stella981 Stella981
3年前
Spring Boot 入门
一、简介Spring官方网站本身使用Spring框架开发,随着功能以及业务逻辑的日益复杂,应用伴随着大量的XML配置文件以及复杂的Bean依赖关系。 随着Spring3.0的发布,SpringIO团队主键开始摆脱XML配置文件,并且在开发过程中大量使用“约定优先配置”(conventionoverconfiguration)的思想来摆脱
Stella981 Stella981
3年前
Android 复选框 以及回显
activity\_main.xml<?xmlversion"1.0"encoding"utf8"?<LinearLayoutxmlns:android"http://schemas.android.com/apk/res/android"xmlns:app"http:/
Easter79 Easter79
3年前
Spring——多种方式实现依赖注入
  在Spring的XML配置中,只有一种声明bean的方式:使用<bean元素并指定class属性。Spring会从这里获取必要的信息来创建bean。但是,在XML中声明DI时,会有多种可选的配置方式和风格,具体到setter方式、构造器方式和P命名空间方式。一、使用setter进行注入!(https://img2018.c
Stella981 Stella981
3年前
Json字符串转map集合
第一步:在pom.xml中添加依赖;<dependency<groupIdcom.alibaba</groupId<artifactIdfastjson</artifactId<version1.2.47</version
Stella981 Stella981
3年前
Android加载网络图片
AndroidManifest.xml文件中加入以下权限设置:    <usespermissionandroid:name"android.permission.INTERNET"/    <usespermissionandroid:name"android.permission.WRITE\_EXTERNAL\_STORAGE
Wesley13 Wesley13
3年前
C# 读取配置文件方法
如xml中写:<?xmlversion"1.0"encoding"utf8"?<config<serv_ip192.168.0.105</serv_ip<databasetest</database<useridsa</userid<password