Jakarta MVC Specification
Total Page:16
File Type:pdf, Size:1020Kb
Jakarta MVC Specification Jakarta EE MVC Team, https://projects.eclipse.org/projects/ee4j.mvc 2.0, November 15, 2020: Draft Table of Contents License. 1 Copyright . 1 Eclipse Foundation Specification License . 1 Disclaimers . 2 1. Introduction. 3 1.1. Goals. 3 1.2. Non-Goals . 3 1.3. Additional Information . 4 1.4. Terminology . 4 1.5. Conventions . 4 1.6. Acknowledgements for version 2.0 . 5 1.7. Acknowledgements for version 1.1 . 5 1.8. Acknowledgements for version 1.0 . 5 1.8.1. Specification Leads . 5 1.8.2. Expert Group Members . 5 1.8.3. Contributors . 6 2. Models, Views and Controllers . 7 2.1. Controllers . 7 2.1.1. Controller Instances . 8 2.1.2. Response . 9 2.1.3. Redirect and @RedirectScoped . 9 2.2. Models . 10 2.3. Views . 12 2.3.1. Building URIs in a View . 13 3. Data Binding . 15 3.1. Introduction. 15 3.2. @MvcBinding annotation. 16 3.3. Error handling with BindingResult . 16 3.4. Converting to Java types . 17 3.4.1. Numeric types . 18 3.4.2. Boolean type. 18 3.4.3. Other types . 18 4. Security. 19 4.1. Introduction. 19 4.2. Cross-site Request Forgery . 19 4.3. Cross-site Scripting. 21 5. Events . 22 5.1. Observers . 22 6. Applications. 31 6.1. MVC Applications . 31 6.2. MVC Context. 31 6.3. Providers in MVC . 31 6.4. Annotation Inheritance. 32 6.5. Configuration in MVC . 32 7. View Engines . 33 7.1. Introduction. 33 7.2. Selection Algorithm . 34 7.3. FacesServlet . 35 8. Internationalization . 36 8.1. Introduction. ..