在对Web 页面数据存储与显示的高度一致的结构分析基础上,提出了设计一种将HTC 行为技术与XML相结合的Web 组件,用于解决Web 界面元素复用性和频繁页面刷新等问题。本文重点对基于XML 的Web 数据处理流程和HTC 中实现行为的机制进行了研究,通过编写和引用HTC 内容设计了常用的Web 组件,并应用该Web 组件给出了一个网上考试系统中页面的实例。 关键词:HTC; XML; web 组件;行为;复用;页面刷新 Abstract: On the basis of analyzing structure which the data storaging and displaying have such a close identical of web page, this paper presents an idea of general network component - web control - which the behavior of HTC and XML combinated to solve the problems which reusability of interface elements and refreshing frequently of web page. The paper studies the procedure of web data processing based on XML and behaviors realization mechanism in HTC, and designs some web control by programming and referencing HTC. Finally a case of online test system is presented to implement these components in the web page. Key Words: HTC; XML; web control; behaviors; reusability; refresh page