Struts 2
How to install libflac-ocaml-dev on Debian Unstable (Sid)
Install libflac-ocaml-dev Installing libflac-ocaml-dev package on Debian Unstable (Sid) is as easy as running the following command on terminal: sudo apt-get update sudo apt-get install…
How to install librocksdb4.1-dbg on Debian Unstable (Sid)
Install librocksdb4.1-dbg Installing librocksdb4.1-dbg package on Debian Unstable (Sid) is as easy as running the following command on terminal: sudo apt-get update sudo apt-get install…
Fetching all records
To fetch all the records, we have stored all the records in a collection (using List), and displaying the data of the collection using the…
Login and Logout
Before creating the login and logout application using struts 2, you must clear the concepts of aware interfaces in struts 2. In this example, we…
Registration Example
In this example, we are going to create a registration form using struts UI tags and store these information into the oracle database. You may…
Spring and Struts 2
Spring framework provides an easy way to manage the dependency. It can be easily integrated with struts 2 framework. The ContextLoaderListener class is used to…
Hibernate with Struts 2
We can integrate any struts application with hibernate. There is no requirement of extra efforts. In this example, we going to use struts 2 framework…
By Annotations
Struts 2 provides you convenient way to create struts application using annotations. So, there is no need to have struts.xml file. As we have said…
by convention
We can create struts 2 application without the configuration file struts.xml. There are two ways to create zero configuration file: By convention By annotation The…
Struts 2 with i18n
The i18n interceptor provides multi-lingual support for your application. It handles setting locale for the action. It can be used if user wants to set…