struts2 tiles 和ssl 同时使用

masterGr 2012-05-25 02:43:15
由于同时使用需要 配置struts.xml里的
<package name="default" namespace="/" extends="tiles-default">
只能继承一个 tiles-default或ssl-default
...全文
51 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
masterGr 2012-05-26
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 pspg1987 的回复:]
能!!!啊!!!!
[/Quote]
怎么配啊
扁鹊的毒药 2012-05-25
  • 打赏
  • 举报
回复
能!!!啊!!!!
masterGr 2012-05-25
  • 打赏
  • 举报
回复
struts.xml extends能同时继承两个文件吗
masterGr 2012-05-25
  • 打赏
  • 举报
回复
有知道的吗?
没办法,文件超出上传20M限制 Servlets和JSP核心技术 卷2 内容还是很详细的,看过卷1的人可以继续用这本书深造,呵呵 目录: Chapter 1. Using and Deploying Web Applications Section 1.1. Purpose of Web Applications Section 1.2. Structure of Web Applications Section 1.3. Registering Web Applications with the Server Section 1.4. Development and Deployment Strategies Section 1.5. The Art of WAR: Bundling Web Applications into WAR Files Section 1.6. Building a Simple Web Application Section 1.7. Sharing Data Among Web Applications Chapter 2. Controlling Web Application Behavior with web.xml Section 2.1. Purpose of the Deployment Descriptor Section 2.2. Defining the Header and the Root Element Section 2.3. The Elements of web.xml Section 2.4. Assigning Names and Custom URLs Section 2.5. Disabling the Invoker Servlet Section 2.6. Initializing and Preloading Servlets and JSP Pages Section 2.7. Declaring Filters Section 2.8. Specifying Welcome Pages Section 2.9. Designating Pages to Handle Errors Section 2.10. Providing Security Section 2.11. Controlling Session Timeouts Section 2.12. Documenting Web Applications Section 2.13. Associating Files with MIME Types Section 2.14. Configuring JSP Pages Section 2.15. Configuring Character Encoding Section 2.16. Designating Application Event Listeners Section 2.17. Developing for the Clustered Environment Section 2.18. J2EE Elements Chapter 3. Declarative Security Section 3.1. Form-Based Authentication Section 3.2. Example: Form-Based Authentication Section 3.3. BASIC Authentication Section 3.4. Example: BASIC Authentication Section 3.5. Configuring Tomcat to Use SSL Section 3.6. WebClient: Talking to Web Servers Interactively Section 3.7. Signing a Server Certificate Chapter 4. Programmatic Security Section 4.1. Combining Container-Managed and Programmatic Security Section 4.2. Example: Combining Container-Managed and Programmatic Security Section 4.3. Handling All Security Programmatically Section 4.4. Example: Handling All Security Programmatically Section 4.5. Using Programmatic Security with SSL Section 4.6. Example: Programmatic Security and SSL Chapter 5. Servlet and JSP Filters Section 5.1. Creating Basic Filters Section 5.2. Example: A Reporting Filter Section 5.3. Accessing the Servlet Context from Filters Section 5.4. Example: A Logging Filter Section 5.5. Using Filter Initialization Parameters Section 5.6. Example: An Access Time Filter Section 5.7. Blocking the Response Section 5.8. Example: A Prohibited-Site Filter Section 5.9. Modifying the Response Section 5.10. Example: A Replacement Filter Section 5.11. Example: A Compression Filter Section 5.12. Configuring Filters to Work with RequestDispatcher Section 5.13. Example: Plugging a Potential Security Hole Section 5.14. The Complete Filter Deployment Descriptor Chapter 6. The Application Events Framework Section 6.1. Monitoring Creation and Destruction of the Servlet Context Section 6.2. Example: Initializing Commonly Used Data Section 6.3. Detecting Changes in Servlet Context Attributes Section 6.4. Example: Monitoring Changes to Commonly Used Data Section 6.5. Packaging Listeners with Tag Libraries Section 6.6. Example: Packaging the Company Name Listeners Section 6.7. Recognizing Session Creation and Destruction Section 6.8. Example: A Listener That Counts Sessions Section 6.9. Watching for Changes in Session Attributes Section 6.10. Example: Monitoring Yacht Orders Section 6.11. Identifying Servlet Request Initialization and Destruction Section 6.12. Example: Calculating Server Request Load Section 6.13. Watching Servlet Request for Attribute Changes Section 6.14. Example: Stopping Request Frequency Collection Section 6.15. Using Multiple Cooperating Listeners Section 6.16. The Complete Events Deployment Descriptor Chapter 7. Tag Libraries: The Basics Section 7.1. Tag Library Components Section 7.2. Example: Simple Prime Tag Section 7.3. Assigning Attributes to Tags Section 7.4. Example: Prime Tag with Variable Length Section 7.5. Including Tag Body in the Tag Output Section 7.6. Example: Heading Tag Section 7.7. Example: Debug Tag Section 7.8. Creating Tag Files Section 7.9. Example: Simple Prime Tag Using Tag Files Section 7.10. Example: Prime Tag with Variable Length Using Tag Files Section 7.11. Example: Heading Tag Using Tag Files Chapter 8. Tag Libraries: Advanced Features Section 8.1. Manipulating Tag Body Section 8.2. Example: HTML-Filtering Tag Section 8.3. Assigning Dynamic Values to Tag Attributes Section 8.4. Example: Simple Looping Tag Section 8.5. Assigning Complex Objects as Values to Tag Attributes Section 8.6. Example: Table Formatting Tag Section 8.7. Creating Looping Tags Section 8.8. Example: ForEach Tag Section 8.9. Creating Expression Language Functions Section 8.10. Example: Improved Debug Tag Section 8.11. Handling Nested Custom Tags Section 8.12. Example: If-Then-Else Tag Chapter 9. JSP Standard Tag Library (JSTL) Section 9.1. Installation of JSTL Section 9.2. c:out Tag Section 9.3. c:forEach and c:forTokens Tags Section 9.4. c:if Tag Section 9.5. c:choose Tag Section 9.6. c:set and c:remove Tags Section 9.7. c:import Tag Section 9.8. c:url and c:param Tags Section 9.9. c:redirect Tag Section 9.10. c:catch Tag Chapter 10. The Struts Framework: Basics Section 10.1. Understanding Struts Section 10.2. Setting Up Struts Section 10.3. The Struts Flow of Control and the Six Steps to Implementing It Section 10.4. Processing Requests with Action Objects Section 10.5. Handling Request Parameters with Form Beans Section 10.6. Prepopulating and Redisplaying Input Forms Chapter 11. The Struts Framework: Doing More Section 11.1. Using Properties Files Section 11.2. Internationalizing Applications Section 11.3. Laying Out Pages with Tiles Section 11.4. Using Tiles Definitions Chapter 12. The Struts Framework: Validating User Input Section 12.1. Validating in the Action Class Section 12.2. Validating in the Form Bean Section 12.3. Using the Automatic Validation Framework Developing Applications with Apache Ant Section A.1. Summarizing the Benefits of Ant Section A.2. Installing and Setting Up Ant Section A.3. Creating an Ant Project Section A.4. Reviewing Common Ant Tasks Section A.5. Example: Writing a Simple Ant Project Section A.6. Using Ant to Build a Web Application Section A.7. Example: Building a Web Application Section A.8. Using Ant to Create a WAR File Section A.9. Example: Creating a Web Application WAR File Index
Servlets和JSP核心技术 卷2 内容还是很详细的,看过卷1的人可以继续用这本书深造,呵呵 目录: Chapter 1. Using and Deploying Web Applications Section 1.1. Purpose of Web Applications Section 1.2. Structure of Web Applications Section 1.3. Registering Web Applications with the Server Section 1.4. Development and Deployment Strategies Section 1.5. The Art of WAR: Bundling Web Applications into WAR Files Section 1.6. Building a Simple Web Application Section 1.7. Sharing Data Among Web Applications Chapter 2. Controlling Web Application Behavior with web.xml Section 2.1. Purpose of the Deployment Descriptor Section 2.2. Defining the Header and the Root Element Section 2.3. The Elements of web.xml Section 2.4. Assigning Names and Custom URLs Section 2.5. Disabling the Invoker Servlet Section 2.6. Initializing and Preloading Servlets and JSP Pages Section 2.7. Declaring Filters Section 2.8. Specifying Welcome Pages Section 2.9. Designating Pages to Handle Errors Section 2.10. Providing Security Section 2.11. Controlling Session Timeouts Section 2.12. Documenting Web Applications Section 2.13. Associating Files with MIME Types Section 2.14. Configuring JSP Pages Section 2.15. Configuring Character Encoding Section 2.16. Designating Application Event Listeners Section 2.17. Developing for the Clustered Environment Section 2.18. J2EE Elements Chapter 3. Declarative Security Section 3.1. Form-Based Authentication Section 3.2. Example: Form-Based Authentication Section 3.3. BASIC Authentication Section 3.4. Example: BASIC Authentication Section 3.5. Configuring Tomcat to Use SSL Section 3.6. WebClient: Talking to Web Servers Interactively Section 3.7. Signing a Server Certificate Chapter 4. Programmatic Security Section 4.1. Combining Container-Managed and Programmatic Security Section 4.2. Example: Combining Container-Managed and Programmatic Security Section 4.3. Handling All Security Programmatically Section 4.4. Example: Handling All Security Programmatically Section 4.5. Using Programmatic Security with SSL Section 4.6. Example: Programmatic Security and SSL Chapter 5. Servlet and JSP Filters Section 5.1. Creating Basic Filters Section 5.2. Example: A Reporting Filter Section 5.3. Accessing the Servlet Context from Filters Section 5.4. Example: A Logging Filter Section 5.5. Using Filter Initialization Parameters Section 5.6. Example: An Access Time Filter Section 5.7. Blocking the Response Section 5.8. Example: A Prohibited-Site Filter Section 5.9. Modifying the Response Section 5.10. Example: A Replacement Filter Section 5.11. Example: A Compression Filter Section 5.12. Configuring Filters to Work with RequestDispatcher Section 5.13. Example: Plugging a Potential Security Hole Section 5.14. The Complete Filter Deployment Descriptor Chapter 6. The Application Events Framework Section 6.1. Monitoring Creation and Destruction of the Servlet Context Section 6.2. Example: Initializing Commonly Used Data Section 6.3. Detecting Changes in Servlet Context Attributes Section 6.4. Example: Monitoring Changes to Commonly Used Data Section 6.5. Packaging Listeners with Tag Libraries Section 6.6. Example: Packaging the Company Name Listeners Section 6.7. Recognizing Session Creation and Destruction Section 6.8. Example: A Listener That Counts Sessions Section 6.9. Watching for Changes in Session Attributes Section 6.10. Example: Monitoring Yacht Orders Section 6.11. Identifying Servlet Request Initialization and Destruction Section 6.12. Example: Calculating Server Request Load Section 6.13. Watching Servlet Request for Attribute Changes Section 6.14. Example: Stopping Request Frequency Collection Section 6.15. Using Multiple Cooperating Listeners Section 6.16. The Complete Events Deployment Descriptor Chapter 7. Tag Libraries: The Basics Section 7.1. Tag Library Components Section 7.2. Example: Simple Prime Tag Section 7.3. Assigning Attributes to Tags Section 7.4. Example: Prime Tag with Variable Length Section 7.5. Including Tag Body in the Tag Output Section 7.6. Example: Heading Tag Section 7.7. Example: Debug Tag Section 7.8. Creating Tag Files Section 7.9. Example: Simple Prime Tag Using Tag Files Section 7.10. Example: Prime Tag with Variable Length Using Tag Files Section 7.11. Example: Heading Tag Using Tag Files Chapter 8. Tag Libraries: Advanced Features Section 8.1. Manipulating Tag Body Section 8.2. Example: HTML-Filtering Tag Section 8.3. Assigning Dynamic Values to Tag Attributes Section 8.4. Example: Simple Looping Tag Section 8.5. Assigning Complex Objects as Values to Tag Attributes Section 8.6. Example: Table Formatting Tag Section 8.7. Creating Looping Tags Section 8.8. Example: ForEach Tag Section 8.9. Creating Expression Language Functions Section 8.10. Example: Improved Debug Tag Section 8.11. Handling Nested Custom Tags Section 8.12. Example: If-Then-Else Tag Chapter 9. JSP Standard Tag Library (JSTL) Section 9.1. Installation of JSTL Section 9.2. c:out Tag Section 9.3. c:forEach and c:forTokens Tags Section 9.4. c:if Tag Section 9.5. c:choose Tag Section 9.6. c:set and c:remove Tags Section 9.7. c:import Tag Section 9.8. c:url and c:param Tags Section 9.9. c:redirect Tag Section 9.10. c:catch Tag Chapter 10. The Struts Framework: Basics Section 10.1. Understanding Struts Section 10.2. Setting Up Struts Section 10.3. The Struts Flow of Control and the Six Steps to Implementing It Section 10.4. Processing Requests with Action Objects Section 10.5. Handling Request Parameters with Form Beans Section 10.6. Prepopulating and Redisplaying Input Forms Chapter 11. The Struts Framework: Doing More Section 11.1. Using Properties Files Section 11.2. Internationalizing Applications Section 11.3. Laying Out Pages with Tiles Section 11.4. Using Tiles Definitions Chapter 12. The Struts Framework: Validating User Input Section 12.1. Validating in the Action Class Section 12.2. Validating in the Form Bean Section 12.3. Using the Automatic Validation Framework Developing Applications with Apache Ant Section A.1. Summarizing the Benefits of Ant Section A.2. Installing and Setting Up Ant Section A.3. Creating an Ant Project Section A.4. Reviewing Common Ant Tasks Section A.5. Example: Writing a Simple Ant Project Section A.6. Using Ant to Build a Web Application Section A.7. Example: Building a Web Application Section A.8. Using Ant to Create a WAR File Section A.9. Example: Creating a Web Application WAR File Index
本书于2011-11月出版,此为该书的前面部分章节电子版 首先,这是一本高水平的书,作为对Oracle 在线文档和其他Java EE 及WebLogic Server 技术 的入门书的补充,向中高级开发人员、架构师和管理员提供了对关键的Java EE 开发和部署技术 的深入讲解。本书跳过了基础内容,避免重复很容易从其他地方找到的信息,关注其他地方没有 提到的信息和技术。本书由Oracle 公司权威人士和企业级Java EE 应用程序开发专家组成的作者 团队编写,是对其他书籍和参考资料的延伸。 其次,本书描述了思路。不只是简单地罗列出解决问题的各种可选方案,而后让你自己去做 出决策,而且分享了我们的思考过程,给你提供了在应用程序开发和管理过程中能够使用的具体 建议和最佳实践。本书讲解了不同的设计方案、体系结构、构建技术、部署选项以及管理技术, 但是并没有停留在这一步。我们会进而解释每一个可选方案的优点,以及应用这种方案的场合。 我们不仅要让你理解有哪些方法可以完成任务,还要让你理解应该如何完成任务。 最后,本书构建并讲解的主要示例应用程序是一个真实复杂的应用程序,涵盖了很多Java EE 技术的许多特征,以及Oracle WebLogic Server 11g 特有的技术。这个示例应用程序覆盖了JSP、 Spring MVC、EJB 3.0、JPA、JMS 和Web 服务等关键技术,展示了这些技术的应用。正文部分带 你经历这个应用程序设的计、开发和部署过程中每一个决策做出的过程,帮助你在自己的开发工 作中做出类似的决策。 读者对象 本书并不是Java EE 技术和WebLogic Server 环境的入门读物。这是一本高水平的书,对基本 概念的描述很少,因此本书面向的读者是有经验的开发人员和WebLogic Server 管理员,通过阅读 本书他们可以将自己对这些技术的认识提升到更高水平。 主要内容 本书关注于如何通过最新发布的Oracle WebLogic Server 11g 进行Java EE 开发、部署和管理。 书中描述的很多技术、框架、部署技术和管理工具都要求使用这个版本的WebLogic Server 和最新 版本的Java EE 环境以及相关的各种库和框架。本书中构建的主要示例应用程序bigrez.com 要求 使用WebLogic Server 11g。 尽管如此,我们并不赞同“最新的就是最好的”这类技术观点。只要是合理的,我们就会在 示例中选用经过检验且版本可靠的Java EE 框架和库,前提是这些框架和库能够满足我们的需求 并且完成任务。 Oracle WebLogic Server 开发权威指南 VI 下面列出了本书中描述过、比较过并且使用过(或没有使用过)的部分技术和框架: ● EJB 3.0、JPA、OpenJPA、Kodo、TopLink ● Java 6、Spring 2.5 MVC、Jakarta Struts 1.2、JSP 2.0、Tiles 2.0 ● JMS 1.1、SOAP 1.1、JAX-WS 2.1 ● JAAS、SAML 1.1 和2.0、XACML、SSL、TLS 1.0、JSSE ● JMX、SNMP、WLST、WLDF

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧