图书管理系统外文翻译
over the page flow of the application. The servlet can decide which type of response to generate depending on the outcome of the requested action, such as returning a common error page for all requests that fail, or different responses depending on the type of client making the request. With the help from some utility classes, it can also provide services such as input validation, I18N preparations, and in general, encourage a more streamlined approach to request handling.
When you use a servlet as a Controller, you must deal with the following basic requirements:
All requests for processing must be passed to the single Controller servlet.
The servlet must be able to distinguish requests for different types of processing. Here are other features you will want support for, even though they may not be requirements for all applications:
A strategy for extending the application to support new types of processing
requests in a flexible manner.
A mechanism for changing the page flow of the application without modifying
code.
Mapping Application Requests to the Servlet
The first requirement for using a Controller servlet is that all requests must pass through it. This can be satisfied in many ways. If you have played around a bit with
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新工程科技图书管理系统外文翻译(12)全文阅读和word下载服务。
相关推荐: