时间:2023-05-24 15:15:01 | 来源:网站运营
时间:2023-05-24 15:15:01 来源:网站运营
无框架版Java Web 项目完整案例实战(二)——基础配置与登录界面开发:<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1"> <display-name>dbSystem</display-name> <welcome-file-list> <welcome-file>login.html</welcome-file> <welcome-file>login.htm</welcome-file> <welcome-file>login.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list></web-app>
<?xml version="1.0" encoding="UTF-8"?><c3p0-config> <!-- This app is massive! --> <named-config name="mvcApp"> <property name="driverClass">org.postgresql.Driver</property> <property name="jdbcUrl">jdbc:postgresql://localhost:5432/test</property> <property name="user">*****</property> <property name="password">******</property> <property name="acquireIncrement">5</property> <property name="initialPoolSize">10</property> <property name="minPoolSize">10</property> <property name="maxPoolSize">50</property> <!-- intergalactoApp adopts a different approach to configuring statement caching --> <property name="maxStatements">20</property> <property name="maxStatementsPerConnection">5</property> </named-config></c3p0-config>
关键词:配置,基础,界面,实战,完整,项目