Course ID: 20142 | Course Duration: 2 Days
 
Career Training
 

Fundamentals of Jakarta Struts Training Class

Course ID: 20142
 
 
Course Snapshot View Dates Add To My Courses Get More Information About This Course Register Online Register By Fax On-Site Training View Printer Friendly Version
 
     
 

Fundamentals of Jakarta Struts Training Seminar

Jakarta Struts is an open-source project from Apache that provides a framework for building a Model-View-Controller (MVC) architecture into your web applications. In this course, learn to build solid web applications following many best practices we have used on the desktop for years. Build on the JavaServer Pages Standard Tag Libraries (JSTL) along with the Struts HTML tags for forms to build rich interfaces with validation and internationalization built right in.
 
     
     
  Course Details  
     
     
  Agenda  
 

1. Struts Intro, Overview, and Setup




  • Understanding Struts


    • Different views of Struts


    • Advantages of Struts


    • Disadvantages of Struts





2. Processing Requests with Action Objects




  • Struts flow of control


  • The six basic steps in using Struts


  • Example: one result mapping


  • Example: multiple result mappings



3. Handling Request Parameters with Form Beans




  • Two new ideas


    • Automatically creating bean to represent request data


    • Using bean:write to output bean properties




  • Defining form beans


  • Declaring form beans


  • Outputting properties of form beans


    • bean:write


    • JSP 2.0 expression language




  • Defining and outputting regular beans



4. Prepopulating and Redisplaying Input Forms




  • Using the Struts html: tags to build HTML forms that have three important
    characteristics:


    • The textfield names and the bean properties are guaranteed to stay in synch


    • The textfield values can be prepopulated based on the values in a bean


    • The forms can be redisplayed when they are submitted with incomplete or
      incorrect values





5. Using Properties Files (Resource Bundles)




  • Loading properties files


  • Using bean:message


  • Applying properties files


    • To reuse fixed strings


    • To support internationalization





6. DispatchAction and Other Advanced Action Classes




  • Performing different logic based on a radio button, hidden field, or push
    button value


    • But not repeatedly checking parameter names in the execute method


    • Using DispatchAction




  • Using Struts form-bean capabilities in non-Struts applications


    • Without redoing code in Struts


    • Using ForwardAction




  • Other advanced Action subclasses



7. Declarative Exception Handling




  • Transferring to custom error pages when various exception types are
    thrown


  • Global exceptions


  • Per-Action exceptions


  • Standard web.xml approach


  • Using custom exception handlers


  • Declaring


  • Defining


8. Manually Validating Input




  • Distinguishing manual validation from automatic validation


  • Performing validation in the Action


    • Error messages in beans




  • Performing validation in the ActionForm


    • Fixed error messages


    • Error messages with substitution




  • Separate error messages



9. Automatically Validating Input




  • Distinguishing manual validation from automatic validation


  • Distinguishing client-side validation from server-side validation


  • Using automatic validation


    • Declare application-wide properties file


    • Add messages to properties file


    • Turn on the automatic validator


    • Put validation rules in validation.xml


    • Put in input page


    • Enable JavaScript validation





10. Laying Out Pages with Tiles




  • Tiles motivations


  • Tiles basics


    • Sketch out desired layout


    • Make template file that represents layout


    • Create JSP pages that define layout pieces


    • Create JSP pages that populate layout




  • Handling relative URLs in Tiles


  • Using Tiles definitions file


 
     
     
  Audience  
 

Those who have JSP experience and are looking to make their web-based applications more robust and flexible using model-view-controller frameworks such as Struts or JavaServer Faces.

 
     
  Pre-requisites  
 

Java Web Developer or equivalent experience working with Java and JavaServer Pages (JSP).

 
     
  Comments  
  For all course dates held in Canada, please add 5% GST to the course price. Canadian residents will need to add an additional 7% PST to the course price.  
     
     
 
On-Site Training Bring this Fundamentals of Jakarta Struts training class in-house at your facility. Request More Information Request More Information On Fundamentals of Jakarta Struts
 
Career Training
 
 
Career Training
  Fundamentals of Jakarta Struts Training Course Dates and Locations  
     
  Course ID: 20142 | Course Duration: 2 Days  
     
  Locations:  
     
   
     
 
Career Training
 
     
 
On-Site Training Bring this Fundamentals of Jakarta Struts training class in-house at your facility. Request More Information Request More Information On Fundamentals of Jakarta Struts
 
Career Training
 
 
Career Training
  Browse Our Catalog  
     
  Select a market segment to view more courses

 
     
  Or, select a category to view more courses

 
     
  Browse By Category Browse By Category

Browse By Location Browse By Location

Browse New Courses Browse New Courses

 
     
Career Training
 
   
 
 
 
 






Site Map -- Top Training Courses -- Request On-Site Training

Find Jobs -- Degree Programs -- Training Providers -- Resource Center -- About Us -- Contact us

TrainUp.com Your Career Training Marketplace