Skip to main content

Instructor-led training

Fast Track to Jakarta Struts Training in Horseheads, New York

Struts is an open source, Model-View-Controller (MVC) framework developed by The Apache Software Foundation as part of its Jakarta project.

What you'll learn

Struts is an open source, Model-View-Controller (MVC) framework developed by The Apache Software Foundation as part of its Jakarta project. Struts is built on top of JSP, Servlets, and custom tag libraries. After reading the first J2EE Blueprints from Sun with their explanation of MVC and how to accomplish it with custom tags, Servlets, and JSP, one can clearly see that Struts is a manifestation of Sun's J2EE MVC vision. Struts addresses many major issues in using vanilla Servlets/JSP to build web systems. It solves the problem of controller complexity by removing the workflow logic from the Servlets, and directing workflow in an XML configuration file. Struts improves on the limited form support in JSP by adding numerous capabilities to form processing including easy validation, easy error display, and the refilling of form input on form retries from a users previous entries. It minimizes the complexity of JSP pages, by integrating with the JSTL tag library, and additionally supplying a very extensive and flexible set of custom tag libraries for many of the standard operations needed in JSP pages. This course will get you up to speed with Struts in a very short time. It includes all the important concepts, and hands on labs that will have you building working Struts applications in no time flat. In addition, this course covers how to extend the Struts framework to fit your unique needs

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Horseheads, New York or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

Basic knowledge of HTML and JavaScript and practical Java and Servlet/JSP programming experience.

Course Outline

Getting started with Struts  
Jakarta Struts Project
MVC and Struts
Review Servlets, JSP and Web Applications
Struts Architecture
 
Your first Struts Application
Configuring Struts applications
Defining views – the input JSP
Defining ActionForms (FormBeans)
Defining Actions
 
Mapping the Model to the View
Review of Custom Tags
Introduction to JSTL (JSP Standard Template Library)
Using the Struts HTML Tags, Struts Bean Tags and Struts Logic Tags
Pre-populating forms from FormBeans
 
Errors and Debugging Struts Applications
Error Handling
Action Error and ActionErrors
ActionForm validate() method
Error Management in Action.execute()
Error display in JSP pages:  <html:errors> tag
Writing all errors to JSP page
Writing selected errors to JSP page
Handling exceptions
Declarative Exception Handling
Logging – A critical tool
Overview of logging
Simple Servlet Logging
Jakarta Commons Logging
Using Commons Logging
Log Message Levels
Apache log4j
Overview, Loggers, Appenders, Layouts, Using log4j
 
Dynamic Forms and the Validator Framework
Dynamic Forms
Issues with Regular Forms
Overview of Dynamic Forms
Configuring Dynamic Forms - The DynaActionForm and Form Properties
Using the Dynamic Form in the Action
The Validator Framework - Overview
Validation Rules
Adding Errors to the Resource Bundle
Using Validators with Dynamic and Static Forms
Important Predefined Validators : Email, mask, range, length, date and credit card validation
Using the Mask Rule
 
Working with the Tiles Custom Library
Issues with Managing JSP Complexity
View Reuse
The Tiles Framework
Defining Layouts for View Reuse
Using tiles:get, tiles:put, tiles:getAsString and tiles:insert
Tiles Definitions
JSP Definitions – Uses, Shortcomings
Using Definitions
XML Definitions
The Tiles Plugin
Tiles Controllers
 
Additional Capabilities
Forward and Include Actions
Setup Actions
DispatchAction
Managing Complexity
Multiple struts config files
Multiple resource bundles

What makes Struts hard to master

The Java is rarely the obstacle. The difficulty is that Struts moves workflow out of your servlets and into configuration. As the course description puts it, workflow is directed from an XML configuration file. A mistake in a mapping often shows up as a runtime error or a blank page, not a compile error. The syllabus builds the layers in order.

  • Foundation: MVC and Struts, a review of Servlets, JSP and web applications, the Struts architecture, then a first working application. You need the request cycle clear before the framework's indirection makes sense.
  • The core triangle: configuring the application, writing the input JSP, defining ActionForms (FormBeans) and defining Actions. Each piece is wired to the others by name in the configuration file.
  • Views: a review of custom tags, an introduction to JSTL, and the Struts HTML, Bean and Logic tag libraries. Pre-populating forms from FormBeans comes with these.
  • Errors and logging: ActionErrors, the ActionForm validate() method, error handling in Action.execute(), the <html:errors> tag and declarative exception handling. Commons Logging and log4j (loggers, appenders, layouts) are covered as debugging tools.
  • Scaling up: dynamic forms (DynaActionForm) and the Validator framework, Tiles layouts and definitions, then forward/include actions, setup actions, DispatchAction, multiple config files and multiple resource bundles.

A common misconception is that validation belongs only in validate(). The syllabus shows several places errors can originate, and choosing between hand-written and declarative validation is a design decision. Another is that Tiles is only a template trick. Tiles definitions, the plugin and controllers raise real questions about reuse and maintainability.

Who it suits and what to take around it

This three-day introductory course assumes basic HTML and JavaScript and practical Java and Servlet/JSP experience. It suits developers and teams who maintain, support or migrate existing Struts-based web applications. It also suits organizations that need people productive in that codebase quickly. The course material targets Java SE 7 and earlier, which Oracle's lifecycle information lists as out of support. Organizations running other Java versions can ask about customized private training.

If your Servlet/JSP background is thin, Fast Track to Servlets/JSP Using Rational Application Developer (RAD) builds the request/response and JSP skills Struts sits on. Once you can build the controller and view layers, Fast Track to Hibernate 3.x is a natural next step for the persistence side of the model. Teams comparing component-based approaches to web UI might then look at Fast Track to JavaServer Faces 2 (JSF 2). More options are in the Java Programming courses and learning guide.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Extending a form-heavy intake application. A team might need to add fields to a long registration form. Dynamic forms and the Validator framework (email, mask, range, length, date and credit card rules) let them declare validation and add messages to the resource bundle instead of hand-coding validate() in each ActionForm.
  • Taming duplicated JSP markup. A maintenance group might inherit dozens of pages that each repeat the same header, menu and footer. Tiles layouts and XML definitions, with tiles:insert and tiles:put, centralize that structure so a change is made once.
  • Diagnosing a production fault. A support engineer might need to trace why a request lands on the wrong page. Commons Logging with log4j, plus declarative exception handling, gives a record of the path through the Action and the errors raised along the way.

Using AI coding assistants with Struts

Where they help. AI coding assistants are useful for boilerplate: ActionForm and Action skeletons, log4j appender and layout configuration, a first draft of JSP using the Struts HTML and JSTL tags, and explaining an unfamiliar mapping in an inherited config file.

Where they fail. Struts is configuration-driven and the names must agree across files. Assistants commonly produce a form-bean name in one place and a different one in the action mapping. They may invent tag attributes or validator rule names, or mix in APIs and annotation styles from other frameworks. They also tend to write code that assumes a newer Java than the project uses. Generated validation can look complete while skipping server-side checks, and generated output code may omit escaping.

How to verify.

  1. Cross-check every name in generated code against the Struts config, the validation rules and the resource bundle.
  2. Run the flow, including the failed-validation and exception paths, and confirm errors display and form input is refilled.
  3. Compile and run against the project's actual Java and framework versions.
  4. Raise log levels and read the output to confirm the Action you expect is the one executing.
  5. Review any generated JSP for unescaped user input before accepting it.

Frequently asked questions

What level is this course?

It is introductory to Struts, but it assumes working Java and Servlet/JSP experience. It runs three days and moves from MVC concepts to forms, validation, Tiles and logging.

What should I know before attending?

Basic HTML and JavaScript, plus practical Java and Servlet/JSP programming. The syllabus includes a review of Servlets, JSP and web applications, but it is a refresher, not an introduction.

What does the course cover?

Struts architecture and configuration, ActionForms and Actions, the HTML, Bean and Logic tags with JSTL, error handling, Commons Logging and log4j, dynamic forms and the Validator framework, Tiles, and extras such as DispatchAction and multiple config files and resource bundles.

Can this be delivered privately for our team, onsite or online?

Yes. HSG provides private training for organizations, delivered onsite at your location or live online.

Can the content be customized?

Private course content can be customized, including to the technology versions your organization uses. You can describe your environment in a training proposal request.

HSG Technology & Workforce Intelligence

Most relevant to Fast Track to Jakarta Struts

  • Software developers, employment: 80 (May 2025; U.S. Bureau of Labor Statistics)
  • Software developers, concentration relative to the U.S. (location quotient): 0.23 (May 2025; U.S. Bureau of Labor Statistics)
  • Computer systems design and related services, employment (private sector, by place of work): 99 (2024 annual average; U.S. Bureau of Labor Statistics)
  • Computer systems design and related services, employment concentration relative to the U.S. (location quotient): 0.19 (2024 annual average; U.S. Bureau of Labor Statistics)

Selected for this course from the verified data in the section below.

80Software developersMay 2025
0.23Concentration vs. U.S.1.00 = U.S. average; May 2025
$79,250Median annual wage (computing jobs)May 2025
5Verified local technology sourcesemployers, colleges, user groups

Key findings for Java

  • The official data measures occupations, industries and degrees, not programming languages, so it cannot count Java work in the Elmira, NY metropolitan area. The Java evidence we found is educational: Elmira College and SUNY Corning Community College (in nearby Corning, NY) teach it. We found no employer-adoption or job-posting evidence for the area.
  • In our reading, Java's typical uses (back-end systems, web services, integration middleware) fit this area best as a skill for internal tools and business systems that support its engineering and manufacturing base, not for a large software-vendor sector.
  • Computer and mathematical occupations had a median annual wage of $79,250 in the Elmira, NY metropolitan area (May 2025), against $47,850 for all occupations.
  • Software developers had a concentration of 0.23 relative to the U.S. in the area (May 2025), against 1.08 for New York State. In a smaller market, portable skills matter.
  • Skills worth building include current Java releases, JUnit testing, REST services with JAX-RS or Spring Boot, and continuous integration.

Workforce: occupations, industries and pay

Computer and mathematical occupations employed 480 people in the Elmira, NY metropolitan area in May 2025, with a concentration of 0.42 relative to the U.S. This is a small technology labor market that pays well locally. Software developers numbered 80 (concentration 0.23), while network and computer systems administrators numbered 70 with a concentration of 1.03 and a median annual wage of $97,950. In our reading, anyone using Java here is often working near operations and systems support as well as in application development.

Talent and education pipeline

Among bachelor's degree holders in the Elmira, NY metropolitan area, 3.3% hold a degree in computers, mathematics or statistics (ACS 2020-2024 5-year), against 5.1% for the United States. The only mathematics and statistics degree recorded for the 2023-24 academic year was one bachelor's degree, awarded by Elmira College. Graduate counts are a signal to watch, not a promise of hiring. Java instruction at Elmira College and SUNY Corning suggests some local exposure to the language at the entry level.

Economy and investment

The area's economy leans toward making things. Manufacturing employment had a concentration of 1.67 relative to the U.S. (2024 annual average), and computer and electronic product manufacturing employed 387 people, up 10.9% from 349 between the 2019 and 2024 annual averages. Computer systems design and related services employed 99 people, with a concentration of 0.19. Software publishers' establishments rose from 1 to 4 over the same period, a small base worth watching. Real GDP changed -3.2% from 2018 to 2023.

How Elmira compares

AreaBachelor's or higher (ACS 2020-2024 5-year)Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year)Computer and math jobs, LQ (May 2025)Software developers, LQ (May 2025)Computer systems design industry, LQ (2024 annual average)
Elmira, NY27.2%3.3%0.420.230.19
United States35.7%5.1%1.001.001.00
New York State40.2%5.0%0.961.080.79
Columbus, IN34.1%5.2%0.550.530.60
Kokomo, IN20.8%3.2%0.250.150.14
Midland, MI36.6%5.1%0.690.410.07
Casper, WY27.7%3.5%0.330.350.25
Great Falls, MT28.4%2.9%0.440.180.21

LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.

Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.

Skills and technology fit

This part is HSG's interpretation of the data above for people learning Java. The official sources measure occupations, industries and degrees, not programming languages.

Why Java fits this regional economy. In our reading, the area's strength in production work (a concentration of 1.59 for production occupations, May 2025) and industrial engineering (1.61) points to demand for dependable software around plants and suppliers: order and inventory systems, integrations between machines and business applications, and reporting. Java is widely used for this kind of long-lived back-end and middleware work. The small developer base (80 software developers) suggests many such roles are combined with systems administration or support, or are filled by remote or regional teams. This is interpretation, not a count of Java jobs.

Evidence of Java in the area. The evidence is educational. Elmira College lists COMP 2036 Object Oriented Programming as taught in Java, though an earlier version of the listing said Python, so the language may vary by term. Its online career-training programs name Java, C# and HTML5. In nearby Corning, NY, SUNY Corning Community College's catalog lists CSCS 2420 Java Programming, and its non-credit career training also names Java. These show that Java is taught locally. They do not show employer adoption, and we found no local postings.

Frameworks and skills worth investigating. For business and integration work, Spring Boot and Jakarta EE (JAX-RS, JPA, servlets) are worth investigating, along with Hibernate, Maven or Gradle, JUnit, and Tomcat or WildFly. Upgrading long-lived applications across Java versions is a common challenge, and it suits organizations with older internal systems. Our Java Enterprise Edition training and Spring training pages cover these frameworks.

Emerging areas worth watching. Java's six-month release cadence with regular LTS releases, records, pattern matching and virtual threads are worth watching, as are the Spring Boot and Jakarta EE namespace migrations. Employers with older applications may care about these migrations. The official dev.java learning site tracks current language features.

Improving your prospects. Build from fundamentals to database access (JDBC/JPA), then REST services and automated testing. Pair Java with systems administration, scripting or data skills, since the area's computing roles are broad. Related paths include Python and C#, both seen in the area's career-training listings. Learners can compare Java training in Elmira and Horseheads, or request a training proposal for a team.

HSG courses for these skills.

The full list is on the Java Programming courses and learning guide.

About this data: sources, periods and limitations
  • Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
  • Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
  • Residents aged 25 and over with a bachelor's degree or higher: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Share of residents aged 25 and over with a bachelor's degree or higher.
  • Bachelor's degree holders whose degree is in computers, mathematics or statistics: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Computers, mathematics and statistics.
  • All occupations, computer and mathematical occupations, network and computer systems administrators: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
  • Computer and mathematical occupations, network and computer systems administrators, software developers and others: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
  • Manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 31-33 (NAICS). Location quotient relative to the U.S.
  • Computer and electronic product manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 334 (NAICS).
  • Software publishers: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5132 (NAICS). Employment and wages are withheld by BLS for this area and year to protect employer confidentiality; the establishment count is published.
  • Computer systems design and related services: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5415 (NAICS).

Training locations

Fast Track to Jakarta Struts training across the U.S. and beyond.

We provide private Fast Track to Jakarta Struts training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Fast Track to Jakarta Struts training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.