Mypy 1.8.0 Documentation0 码力 | 234 页 | 902.89 KB | 2 年前3
Mypy 1.10.0+dev Documentation0 码力 | 234 页 | 913.89 KB | 2 年前3
Bring Your Own Codegen to TVM0 码力 | 19 页 | 504.69 KB | 1 年前3
Spring MVC 4.2.4 RELEASE 中文文档ean类型 默认的DispatcherServlet配置 DispatcherServlet的处理流程 控制器的实现 使用@Controller注解定义一个控制器 使用@RequestMapping注解映射请求路径 定义@RequestMapping注解的处理方法 异步请求的处理 对控制器测试 处理器映射 使用HandlerInterceptor拦截请求 视图解析 使用ViewResolver接口解析视图 处理表单中的文件上传 处理客户端发起的文件上传请求 异常处理 处理器异常解析器HandlerExceptionHandler @ExceptionHandler注解 处理一般的Spring MVC异常 使用@ResponseStatus注解业务异常 Servlet默认容器错误页面的定制化 Web安全 “约定优于配置”的支持 控制器类名-处理器映射ControllerClassNameHandler 器映射、视图渲染、本地化、时区与主题渲染等,甚至还能支持文件上传。处理器是你的应用中注解了 @Controller 和 @RequestMapping 的类和方法,Spring为处理器方法提供了极其多样灵活的配置。Spring 3.0以后提供了 @Controller 注解机制、 @PathVariable 注解以及一些其他的特性,你可以使用它们来进行 RESTful web站点和应用的开发。 “对扩展开放”是Spring0 码力 | 163 页 | 2.28 MB | 1 月前3
基于 Java EE 的企业应用系统设计 - Spring MVC 01HttpServletRequest 和 HttpServletResponse 对象,还必须返回一个包含视图路径或视图模型的 ModelAndView 对象。Controller 接口的实现类只能处理一个单一动作。 基于注解的控制器可以同时支持多个请求处理动作处理,并且无须实现任何接口。 ## Spring MVC 示例 References: springmvc-intro-01 ## V iew Resolver jsp,视图解析器将会自动增加前缀和后缀。 ## 基于注解的控制器 ## ☑ 使用基于注解的控制器的几个优点 1. Controller 和 RequestMapping 注释类型是 Spring MVC API 最重要的两个注释类型。 2. 一个控制器类可以处理多个动作(而一个实现了 Controller 接口的控制器只能处理一个动作)。 3. 基于注解的控制器的请求映射不需要存储在配置文件中。使用 用 RequestMapping 注释类型,可以对一个方法进行请求处理。 ## Controller 注解类型 org.springframework.stereotype.Controller 注解类型用于指示 Spring 类的实例是一个控制器。 ## @Controller 示例 package com.example.controller; import org.springframework0 码力 | 67 页 | 792.43 KB | 2 年前3
Weblate 4.2.2 用户文档configure your personal default dashboard view in the Preferences section of your user profile settings. 注解:When Weblate is configured for a single project using SINGLE_PROJECT in the settings.py file (see 配置) contains your preferences. Name and e-mail address is used in VCS commits, so keep this info accurate. 注解:All language selections only offer currently translated languages. 提示: Request or add other languages project and component. Visit the component page and select appropriate choice from the Watching menu. 注解:You will not receive notifications for your own actions.  contains your preferences. Name and e-mail address is used in VCS commits, so keep this info accurate. 注解:All language selections only offer currently translated languages. 提示: Request or add other languages project and component. Visit the component page and select appropriate choice from the Watching menu. 注解:You will not receive notifications for your own actions.  7 归档工具 ## 从古老的计算机谈起 ## 冯诺依曼机 filefilter ## 注解(Annotation) ## 什么是注解 ## 注解 是从 JDK5.0 开始新添加的一种语言特性,区别于代码注释 (Comment)。 ■ 注解不直接影响程序的语义,开发和部署工具可以对其读取并以某种形式处理这些注解,可能生成其他 Java 源文件、XML 文档或要与包含注解的程序一起使用的其他构件。 ## 什么是注解 ## 注解 是从 JDK5.0 开始新添加的一种语言特性,区别于代码注释 (Comment)。 注解不直接影响程序的语义,开发和部署工具可以对其读取并以某种形式处理这些注解,可能生成其他 Java 源文件、XML 文档或要与包含注解的程序一起使用的其他构件。 ■ 本质上,注解就是可以添加到代码中的一种类似于修饰符的成分,可以用于声明包、类、构造方法、方法、属性、参数和变量等场合。 ## 什么是注解 Java 语言采用了一类新的数据类型来描述注解。(注解类型)相当于类或接0 码力 | 63 页 | 2.84 MB | 2 年前3
共 388 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39













