Apache Shiro 1.2.x Reference Manual 中文翻译
Reference Manual 中文翻译 91 9. Cryptography 密码 10. Web Configuration 配置 将 Shiro 集成到任何 Web 应用程序的最简单的方法是在 web.xml 中配置 ContextListener 和 Filter,理解如何读取 Shiro 的 INI 配置文件。大部分的 INI 配置格式定义在 Configuration 页 的 INI Sections Spring 框架用户将不执行此设置。如果你使用 Spring,你将要阅读关于Spring 特定的 Web 配置 Web.xml Shiro 1.2 and later 在Shiro 1.2 及以后版本,标准的 Web 应用程序通过添加下面的 XML 块到 web.xml 来初始化 Shiro:org.apache.shiro 默认情况下,EnvironmentLoaderListener 将创建一个IniWebEnvironment 实例,呈现 Shiro 基于INI 文件的Configuration。如果你愿意,你可以在 web.xml 中指定一个自定义的 ServletContext context-param: shiroEnvironmentClass com.foo.bar.shiro.M 0 码力 | 196 页 | 2.34 MB | 1 年前3《Java 应用与开发》课程讲义 - 王晓东
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 16.7.2 WebContent/WEB-INF/web.xml . . . . . . . . . . . . . . . . . . . . . 220 16.7.3 Java Resources/src . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 20.2.1 配置文件 web.xml . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 20.2.2 web.xml 的主要配置项 . . . . . . . . . . . . . . . . . . . . . . . . . 254 299 24.3 Struts 2 的开发步骤小结 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 24.3.1 在 web.xml 中配置核心过滤器 . . . . . . . . . . . . . . . . . . . . . 303 24.3.2 定义包含表单数据的 JSP 页面 . . . . . . . .0 码力 | 330 页 | 6.54 MB | 1 年前3Apache Shiro参考手册中文版
getSession(false) subject.getSession(false) Web Configuration(配置) 将 Shiro 集成到任何 Web 应用程序的最简单的方法是在 web.xml 中配置 ContextListener 和 Filter,理解如何读取 Shiro 的 INI 配置文件。大部分的 INI 配置格式定义在 Configuration 页的 INI Sections 将不执行此设置。如果你使用 Spring,你将要阅读关于 Spring 特定的 Web 配置。 Web.xml Shiro 1.2 and later 在 Shiro 1.2 及以后版本,标准的 Web 应用程序通过添加下面的 XML 块到 web.xml 来初始化 Shiro:org Class 默认情况下,EnvironmentLoaderListener 将创建一个 IniWebEnvironment 实例,呈现 Shiro 基于 INI 文件的配置。如 果你愿意,你可以在 web.xml 中指定一个自定义的 ServletContext context-param: 0 码力 | 92 页 | 1.16 MB | 1 年前3Java 应用与开发 - Servlet 编程
文档 ▶ CSS ▶ JavaScript ▶ 图片文件 ▶ Servlet ▶ JSP ▶ JavaBean 类 ▶ Java Lib ▶ Web 配置文件:/WEB-INF/web.xml 演示 在 Eclipse 中创建一个 Java Dynamic Project。 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet ▶ Servlet 是一个 Java 类文件,不像 JSP 那样直接存放在 Web 目录下就能获得 URL 请求访问地址。 ▶ Servlet 必须在 Web 的配置文件/WEB-INF/web.xml中进行 配置和映射才能响应 HTTP 请求。 ▶ Servlet 的配置分为声明和映射两个步骤。 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servletouc.java.servlet.LoginAction 4声明 Servlet 的名字,要求在一个 web.xml 文 件内名字唯一。 指定 Servlet 的全名,即包名. 类名。 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 0 码力 | 50 页 | 725.36 KB | 1 年前3Apache Wicket 8.x Reference Guide
to run our applications. No XML file is required except for the standard deployment descriptor web.xml (unless you are using Servlet 3 or a later version. See Chapter 4 for more details). 5 Chapter a quickstart application using Apache Maven. All the artifacts used in the next example (files web.xml, HomePage.class and HomePage.html) are automatically generated by Maven. 4.2.1. Wicket application hence it is deployed through a web.xml file placed inside folder WEB-INF: Illustration: The standard directory structure of a Wicket application The content of web.xml declares a servlet filter (class0 码力 | 350 页 | 9.95 MB | 1 年前3Apache Wicket 7.x Reference Guide
to run our applications. No XML file is required except for the standard deployment descriptor web.xml (unless you are using Servlet 3 or a later version. See Chapter 4 for more details). 6 Chapter a quickstart application using Apache Maven. All the artifacts used in the next example (files web.xml, HomePage.class and HomePage.html) are automatically generated by Maven. 4.2.1. Wicket application hence it is deployed through a web.xml file placed inside folder WEB-INF: Illustration : The standard directory structure of a Wicket application The content of web.xml declares a servlet filter (class0 码力 | 346 页 | 10.00 MB | 1 年前3Apache Wicket 10.x Reference Guide
to run our applications. No XML file is required except for the standard deployment descriptor web.xml (unless you are using Servlet 3 or a later version. See Chapter 4 for more details). 5 Chapter a quickstart application using Apache Maven. All the artifacts used in the next example (files web.xml, HomePage.class and HomePage.html) are automatically generated by Maven. 4.2.1. Wicket application hence it is deployed through a web.xml file placed inside folder WEB-INF: Illustration: The standard directory structure of a Wicket application The content of web.xml declares a servlet filter (class0 码力 | 336 页 | 7.16 MB | 1 年前3Apache Wicket 9.x Reference Guide
to run our applications. No XML file is required except for the standard deployment descriptor web.xml (unless you are using Servlet 3 or a later version. See Chapter 4 for more details). 5 Chapter a quickstart application using Apache Maven. All the artifacts used in the next example (files web.xml, HomePage.class and HomePage.html) are automatically generated by Maven. 4.2.1. Wicket application hence it is deployed through a web.xml file placed inside folder WEB-INF: Illustration: The standard directory structure of a Wicket application The content of web.xml declares a servlet filter (class0 码力 | 335 页 | 7.15 MB | 1 年前3Spring Framwork Web on Servlet Stack v5.3.36 SNAPSHOT
Context. See the GenericWebApplicationContext javadoc for details. The following example of web.xml configuration registers and initializes the DispatcherServlet: 3getRootConfigClasses() and null from getServletConfigClasses(). The following example shows the web.xml equivalent: 6 org.springframework.web.context of configuring the Servlet container programmatically as an alternative or in combination with a web.xml file. The following example registers a DispatcherServlet: Java import org.springframework.web 0 码力 | 259 页 | 3.58 MB | 1 年前3Spring Framework 2.0.8 Reference
scenario, a simple eight (or so) lines of absolutely boilerplate J2EE web descriptor XML in the web.xml file of the application will typically suffice (see Section 3.8.4, “Convenient ApplicationContext the following javax.servlet.ServletRequestListener to the declarations in your web application's 'web.xml' file.... The IoC container Spring Framework (2.0.8) 60 org Filter implementation. Find below a snippet of XML configuration that has to be included in the 'web.xml' file of your web application if you want to have access to web-scoped beans in requests outside 0 码力 | 502 页 | 3.61 MB | 1 年前3
共 392 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40