文章列表
[size=xx-large][size=large][/size][size=small]定义了三个装饰器模板stu_Decorator.jsp, tec_Decorator.jsp, admin_Decorator.jsp。有三个action之后的页面分别被装饰 student.jsp, teacher.jsp, admin.jsp. 但是无论action到哪个页面都被admin_Decorator.jsp 装饰。下面是decorator.xml代码:
<?xml version="1.0" encoding="UTF-8"?>
< ...