WebWork与InternetBeans Express:两种Web开发框架的剖析
1. WebWork框架介绍
WebWork是一个“Pull Hierarchical MVC”框架,其核心目标是让Web开发更简单,同时不牺牲良好的设计和对设计模式的依赖。下面将详细介绍其相关特性和功能。
1.1 AddScheduleEntry类
AddScheduleEntry 类继承自 AddScheduleBase ,其 doExecute() 方法用于验证 scheduleItem ,并根据验证结果返回相应的标志。以下是该类的部分代码:
private static final Logger logger = Logger.getLogger(
AddScheduleEntry.class);
static {
try {
logger.addAppender(new FileAppender(new SimpleLayout(),
"c:/temp/sched-webwork.log"));
} catch (IOException ex) {
logger.error("Can't create log file");
}
}
protected String doExecute() throws java.lang.Exception {
Map errors = sc
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



