Struts 2 Exception Handling

13 years ago

In this chapter we will learn about the exception handling in struts2 framework. If any exception occur between the code…

Themes in Struts 2

13 years ago

When you use a Struts 2 tag such as s:select in your web page, the Struts 2 framework generates HTML…

Internationalization and Localization in struts2

13 years ago

Internationalization (i18n) is the process of planning and implementing products and services so that they can easily be adapted to…

Struts2 Validation With Example

13 years ago

Introduction to Struts2 Validation Framework Struts Action 2 relies on a validation framework provided by XWork to enable the application…

Struts 2 Sending Mails

13 years ago

In this chapter we will teach you how to send an email using your Struts 2 application. For this application,…

Struts 2 Database Access

13 years ago

In this chapter we will teach you how to access a database using Struts 2 in simple steps. Struts is…

Struts 2 File Upload Example

13 years ago

In this example you will learn how to do file upload with the help of the built-in FileUploadInterceptor. To do…

Struts 2 Result Types

13 years ago

As mentioned previously, the <results> tag plays the role of a view in the Struts2 MVC framework. The action is…

Struts 2 Interceptors

13 years ago

Interceptors are conceptually the same as servlet filters or the JDKs Proxy class. Interceptors allow for crosscutting functionality to be…

Struts 2 Actions

13 years ago

Actions are the core of the Struts2 framework, as they are for any MVC (Model View Controller) framework. Each URL…