WEB容器下模型扫描可能会失效,因此配置了WebInit.dml模型用来初始化映射等,可以参看打包模型中的web.xml。

模型的路径:src\main\resources\org\xworker\WebInit.dml。模型XML作为文本编辑,但一般建议使用模型编辑器来编辑。

<?xml version="1.0" encoding="utf-8"?>

<ActionThing name="WebInit" th_createTime="1757338535897" descriptors="xworker.lang.ActionThing">
    <ThingAction name="initMapping" _xmeta_id_="ThingAction" thingType="path" thing="org.xworker.ControllMappings"
         actionName="initMapping"></ThingAction>
</ActionThing>

 

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号