常见的是配置数据库文件, 以配置Druid连接池为例, 直接配置连接池方式如下: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=" ...
分类:
其他好文 时间:
2020-10-31 02:06:27
阅读次数:
16
新建主界面 xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas. ...
分类:
移动开发 时间:
2020-10-31 01:15:44
阅读次数:
27
MapStruct 官方FAQ文档里面有介绍,并且给出了代码。 <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ma ...
分类:
其他好文 时间:
2020-10-29 10:44:35
阅读次数:
28
以下主要是说明下生成的一些细节,减少使用难度 参考代码 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3 ...
分类:
其他好文 时间:
2020-10-18 16:18:40
阅读次数:
18
1 <project xmlns="http://maven.apache.org/POM/4.0.0" 2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache ...
分类:
其他好文 时间:
2020-10-18 10:03:44
阅读次数:
14
使用Blend的绘制功能,需要引用 Microsoft.Expression.Drawing 库文件, xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" <UserControl x:Class="CircleProgre ...
九宫格 <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_paren ...
分类:
移动开发 时间:
2020-10-14 20:00:28
阅读次数:
27
1.框架搭建,创建一个maven项目打war包 web.xml文件 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http:// ...
分类:
数据库 时间:
2020-10-12 20:27:31
阅读次数:
32
1. res 目录 新建一个 menu 资源文件 <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:title= ...
分类:
移动开发 时间:
2020-10-09 20:47:20
阅读次数:
36
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
其他好文 时间:
2020-10-08 19:36:23
阅读次数:
24