67,513
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="UTF-8"?>
<atw>
<config>
<volicity strategy="com.awcms.velocity.DynamicVelocity"></volicity>
<runmodel>debug</runmodel>
<autoModel>update</autoModel>
<mapping resource="xml/menu.xml" dir="admin/core/menu" />
<mapping resource="xml/acl.xml" dir="admin/core" />
<mapping resource="xml/role.xml" dir="admin/core/role" />
<mapping resource="xml/user.xml" dir="admin/core/user" />
<mapping resource="xml/usersroles.xml" dir="admin/core/usersroles" />
<mapping resource="xml/category.xml" dir="admin/core/category" />
<mapping resource="xml/article.xml" dir="admin/core/article"/>
<mapping resource="xml/member.xml" dir="admin/core/member" />
<mapping resource="xml/siteinfo.xml" dir="admin/core/siteinfo" />
<mapping resource="xml/goodscategory.xml" dir="admin/core/goodscategory" />
<mapping resource="xml/goods.xml" dir="admin/core/goods" />
<mapping resource="xml/orders.xml" dir="admin/core/orders" />
<mapping resource="xml/order2goods.xml" dir="admin/core/order2goods" />
<template>
<include>action.jsp</include>
<include>table.html</include>
<include>edit.jsp</include>
<include>list.jsp</include>
</template>
<database>
<provider>com.awcms.db.JdbcProvider</provider>
<driverClass>com.p6spy.engine.spy.P6SpyDriver</driverClass>
<userName>root</userName>
<password>root</password>
<maxActive>100</maxActive>
<maxIdle>1000</maxIdle>
<maxWaite>10000</maxWaite>
<url><![CDATA[jdbc:mysql://127.0.0.1/by888?characterEncoding=gb2312&useUnicode=true&zeroDateTimeBehavior=convertToNull]]>
</url>
</database>
</config>
</atw>
这个是项目的配置文件,数据库连接,和动态配置网站模板。还有ORM映射文件。整个项目不需要在操作数据库。这个单纯是框架的。如果说项目启动后。这些你都不需要操作了。把所以的配置统统的交给后台来操作。什么权限管理啊。后台界面啊。后来都帮你自动生成。