I. Struts Architecture and Overview Introduction to Struts Objectives Review: MVC model What is Struts? Struts flow Components in Struts? The Model The View The Controller struts-config.xml The element The element The element The element Sample The role of web.xml for the application Configuring Struts in web.xml web.xml content Steps to configuring Struts in web.xml Sample Summary II. Struts Development Cycle Objectives Struts development cycle Gathering requirements Defining screen requirements Data vs. FormBean define FormBean Determining the screen flow Defining the ActionMappings in struts-config.xml Developing the FormBean The reset ( ) method The validate ( ) method ActionError Define message key Developing Action Class Action and Action Class The perform() method ActionForward ActionMapping class Perform() example Example perform() method Developing business logic - EJB Developing JSPs Configuring struts-config.xml and web.xml Build, pack and deploy III. Struts Deployment Objectives Struts binary distribution Directory structure of Struts application Example Build the application build.cmd Installing Tomcat Tomcat command line utility Start Tomcat Access Tomcat application Package, deploy and access Struts applications IV. Custom JSP Tag Libraries Objectives JSP taglib directive Components of a tag library The JSP File The tag library descriptor The tag Handler Class An example The TLD File - carPrice.tld TDL File - example The Handler Class - CarPriceHandler.java The Handler Class - example The JSP File - Carprice.jsp Tag Lib Handler life cycle Directory structure: where custom tag libraries fit Struts TagLib Bean tags
HTML tags
Logic tags Functionality Template tags V. Struts Techniques Objectives Architectural design - Action Class The new "MyAction" class Architectural design - Form Bean New "MyBaseBean" Form Bean Debugging techniques Database connection pool Example Internationalization technique VI. Real Project
深圳振阳软件开发技术培训中心联系方式
联系地址:深圳市福田区八卦二路城市主场A座32楼
咨询电话:
88837508 88837509,报名时说明来自神州培训易,享受最低价优惠!
QQ咨询:
非工作时间内,请点击"报名/咨询",24小时之内该机构会联系你。
|
|