In this chapter we will learn about the exception handling in struts2 framework. If any exception occur between the code…
When you use a Struts 2 tag such as s:select in your web page, the Struts 2 framework generates HTML…
Internationalization (i18n) is the process of planning and implementing products and services so that they can easily be adapted to…
Introduction to Struts2 Validation Framework Struts Action 2 relies on a validation framework provided by XWork to enable the application…
In this chapter we will teach you how to send an email using your Struts 2 application. For this application,…
In this chapter we will teach you how to access a database using Struts 2 in simple steps. Struts is…
In this example you will learn how to do file upload with the help of the built-in FileUploadInterceptor. To do…
As mentioned previously, the <results> tag plays the role of a view in the Struts2 MVC framework. The action is…
Interceptors are conceptually the same as servlet filters or the JDKs Proxy class. Interceptors allow for crosscutting functionality to be…
Actions are the core of the Struts2 framework, as they are for any MVC (Model View Controller) framework. Each URL…