Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Struts 2从入门到精通教程
Rating: 4.8 out of 5(4 ratings)
31 students

Struts 2从入门到精通教程

Struts 2 For Beginner
Created byEric Chui
Last updated 10/2019
Chinese (Simplified)

What you'll learn

  • 掌握Struts 2的基本使用
  • 掌握Struts2的拦截器使用
  • 掌握Struts2国际化处理
  • 掌握Struts2表单验证
  • 掌握Struts2上传和下载技术

Course content

5 sections39 lectures6h 50m total length
  • Struts2课程大纲3:56
  • Struts2的概念和作用11:50
  • Struts2的HelloWorld入门程序21:55
  • 简单分析Struts2的执行流程8:48
  • Struts2的配置文件加载详解10:14
  • struts.xml配置详解15:37
  • 修改struts2的常量值8:03
  • Action类的三种写法(ActionSupport)14:23
  • Action类的三种访问方式22:53

Requirements

  • 能够使用Servlet和JSP技术

Description

一、课程简介


Struts2是一个基于MVC设计模式的Web应用框架,它本质上相当于一个servlet,在MVC设计模式中,Struts2作为控制器(Controller)来建立模型与视图的数据交互。Struts 2是Struts的下一代产品,是在 struts 1和WebWork的技术基础上进行了合并的全新的Struts 2框架。其全新的Struts 2的体系结构与Struts 1的体系结构差别巨大。Struts 2以WebWork为核心,采用拦截器的机制来处理用户的请求,这样的设计也使得业务逻辑控制器能够与ServletAPI完全脱离开,所以Struts 2可以理解为WebWork的更新产品。虽然从Struts 1到Struts 2有着太大的变化,但是相对于WebWork,Struts 2的变化很小。


二、课程大纲

1、Struts2基础入门

2、Struts2拦截器与请求数据封装

3、ContextMap(值栈)与OGNL表达式

4、表单验证与Struts2注解开发


Who this course is for:

  • 有一定的JavaWeb开发基础