webwork

本文介绍了WebWork框架的基本理念,即常见的任务应该易于实现而高级设计则可以自由构建。文中详细阐述了视图如何通过Web请求映射到控制器,属性标签如何从Action中提取表达式内容,拦截器的作用及其全局应用方式,以及ActionSupport类作为快速启动基类提供的默认服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 webwork is an advanced framework based on the philosophy that common tasks should be easy to do and adavnced designs should be possible to build. in the web version of mvxc, views can not make direct calls to controllers,but are mapped based on web requests to urls.the proporty tag takes a value attribute and attemps to extract the content of that expression from the action. recall that interceptors wrap around the execution of an action and a result. as with results, interceptors are important for customizing and using webwork,but you typicallhy, you will create a group or stack, of interceptors that you will then apply globally to all your actions. the actionsupport serves as a quick-start base class for your action classes. it includes default implementations of many of the optional services an action can provide. validation to be applied by the validation framework are defined in xnl files  These files go alongside your action classes in the same package.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值