
xml
自驱
ALOHA HEJA HE
展开
-
Mybatis 嵌套list<String>
<resultMap id="UserMap" type="User"> <result column="id" property="id" jdbcType="BIGINT" /> <collection property="names" resultMap="NamesMap" /> <collection property="roles" resultMap="RolesMap" /> </resultMap> &l.原创 2021-06-10 10:15:49 · 647 阅读 · 0 评论 -
知识库--Digester(72)
1 where will use digester? A context represents a Web application, therefore the configuration of a web application is achieved through configuring the instantiated Context instance. The XML file us翻译 2017-01-06 08:47:47 · 309 阅读 · 0 评论 -
知识库--Digester+Rules(73)
A rule specifies an action or a couple of actions that the Digester must do upon encountering a particular pattern. A rule is represented by the org.apache.commons.digester.Rule class. The Digester cla翻译 2017-01-07 11:19:32 · 523 阅读 · 0 评论 -
知识库--Digester+RuleSet(73)
Another way of adding rules to a Digester instance is by calling its addRuleSet method. The signature of this method is as follows:public void addRuleSet(RuleSet ruleSet) The org.apache.commons.digeste翻译 2017-01-07 20:16:34 · 602 阅读 · 0 评论 -
知识库--Digester + ContextConfig(73)
Digester + ContextConfigUnlike other types of containes, a StandardContext must have a listener. This listener configures the StandardContext instance and upon successfully doing so sets the StandardCo翻译 2017-01-07 22:26:34 · 363 阅读 · 0 评论 -
知识库--Web+Digester(73)
Creating Web DigesterA Digester object reference called webDigester exists in the ContextConfig class:private static Digester webDigester = createWebDigester(); This Digester is used to parse the defau翻译 2017-01-07 23:42:51 · 335 阅读 · 0 评论