Catálogo de publicaciones - libros
Beginning Apache Struts: From Novice to Professional
Arnold Doray
Resumen/Descripción – provisto por la editorial
No disponible.
Palabras clave – provistas por la editorial
Software Engineering/Programming and Operating Systems
Disponibilidad
Institución detectada | Año de publicación | Navegá | Descargá | Solicitá |
---|---|---|---|---|
No detectada | 2006 | SpringerLink |
Información
Tipo de recurso:
libros
ISBN impreso
978-1-59059-604-3
ISBN electrónico
978-1-4302-0129-8
Editor responsable
Springer Nature
País de edición
Reino Unido
Fecha de publicación
2006
Información sobre derechos de publicación
© Apress 2006
Cobertura temática
Tabla de contenidos
Uploading Files
The <html:file> tag is used to upload files to the server. The FormFile class handles access to the downloaded file.
Palabras clave: Input Field; Property Attribute; Upload Data; Upload File; Public Void.
Part 1 - Basic Struts | Pp. 129-142
Internationalization
Localizing occurs in four areas: input, validations, output, and communication with other programs, like databases. Struts provides support for localizing output but poor or nonexistent support for the other areas. Localizing output is as simple as getting the Application.properties file translated. The properties file needs to be encoded in ISO 8859-1 (Latin 1). You might have to use the native2ascii tool to “escape” other encodings into this one.
Palabras clave: Character Code; Property File; Language Code; Country Code; Legacy Software.
Part 1 - Basic Struts | Pp. 143-155
Review Lab: Editing Contacts in LILLDEP
Palabras clave: Operating System; Source Code; Action Mapping; Full Detail; Form Data.
Part 1 - Basic Struts | Pp. 157-158
Tiles
Tiles is a mechanism for creating layouts and components. Layouts help streamline a web application’s look and feel. Tiles components are a way to create reusable GUI components.
Palabras clave: Dynamic Content; User Login; Tile Component; Tile Tile; Simple Validation.
Part 2 - Advanced Struts | Pp. 161-193
The Validator Framework
The Validator framework brings many benefits by simplifying the creation and maintenance of your webapp’s validations. You may extend the Validator framework either by implementing your own validate() function or by creating a new validator.
Part 2 - Advanced Struts | Pp. 195-219
Dynamic Forms
Dynamic forms are a way for you to create form beans without any Java code. Dynamic forms work best when you have simple properties, validated with the Validator framework. You are expected to transfer data to a JavaBean for processing. Dynamic forms may not be used in place of ActionForms in certain situations, particularly when using EL. LazyValidatorForm is a new (1.2.6) addition to Struts that removes the need to even declare properties in a form bean. Since 1.2.6, you can use a JavaBean as the type of a <form-bean>, and Struts will wrap the bean in a BeanValidatorForm. This will automatically populate the bean’s data for you.
Palabras clave: Dynamic Form; Simple Property; Malicious User; Java Code; Primitive Type.
Part 2 - Advanced Struts | Pp. 221-238
Potpourri
Struts provides a number of useful classes, features, and tricks to make writing webapps easier. This chapter covers some of the ways you can take advantage of what’s available rather than reinventing the wheel in your webapps.
Palabras clave: Dynamic Form; Action Path; Content Type; Legacy Code; Type Conversion.
Part 2 - Advanced Struts | Pp. 239-266
Review Lab: The Collection Facility
I hope this review lab reinforces some of the concepts you’ve learned in the second part of this book. I also hope you see how easy it is to incrementally build on an existing webapp using Struts.
Palabras clave: Action Mapping; Malicious User; Exception Handler; Session Object; Listing Page.
Part 2 - Advanced Struts | Pp. 267-276
Developing Plug-ins
Plug-ins, first introduced in Struts 1.1, are a good way to extend or amend the functionality of Struts. A plug-in has to implement the org.apache.struts.action.PlugIn interface. This interface has two functions: init(), which is called when the PlugIn implementation is instantiated, and destroy(), which is called when Struts shuts down. Additional parameters may be passed to the plug-in before initialization using <set-property> tags in the plug-in declaration. Each <set-property> must have a corresponding setXXX defined on the plug-in implementation.
Palabras clave: Property Class; User Object; Public Class; Public Void; Apache License.
Part 2 - Advanced Struts | Pp. 277-306
JavaServer Faces and Struts Shale
Palabras clave: User Interface Component; Validator Framework; User Interface Tree; Model Tier; Database Connection.
Part 2 - Advanced Struts | Pp. 307-358