In this tutorial I will show you how to integrate Struts 2, Spring 4, Hibernate 4 and Maven. In the previous example Integrate Spring 3, Struts 2 and Hibernate 3 , I have shown how to integrate Struts 2, Spring 3 and Hibernate 3 but I have not used maven there. For this tutorial we […]
We know that Google chart basically displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. You can have a look at the URL https://developers.google.com/chart/ for more information. You can integrate Google chart with any server side technology but here I will show you how to […]
This tutorial shows how do we send email with attachment. This tutorial uses one input form where a user gives input for ‘Email To Address’ where the intended email will be sent, ‘Email Subject’, ‘Email Message’ and uploads one file which will be sent as an attachment with the email. This email sending example uses […]
This tutorial shows how to upload multiple files using single browse button in Struts2. There is another tutorial on Multiple Files Upload in Struts2 which uses multiple browse buttons for multiple file upload but this tutorial uses only one button for uploading multiple file upload in Struts2. We need to use just attribute multiple=”multiple” with […]
I will show you here how to create multiple namespaces in struts2 web application. The benefit of namespace is the same file and action can be mapped to the multiple modules. First create the web application using any JEE based IDE like Eclipse.
File Upload is one of the common tasks of a web application and Struts 2 provides built-in feature for single file upload through FileUploadInterceptor. Interceptors are cross cutting concerns or common concerns like Logging; for more information on Interceptors please refer to Interceptors in struts2 FileUploadInterceptor(for more information go to File Upload Interceptors) is configured […]
File Upload is one of the common tasks of a web application and Struts 2 provides built-in feature for multiple files upload through FileUploadInterceptor. Interceptors are cross cutting concerns or common concerns like Logging; for more information on Interceptors please refer to Struts2 Interceptors FileUploadInterceptor(for more information go to File upload interceptors) is configured in […]
Liferay is a Open Source Content Management System and it’s popularity increasing day by day but there are no much tutorials on this. Sometimes we find some examples but it may not work exactly the way have been written in the websites. Sometimes the tutorial steps have not been started from the scratch and it […]
This tutorial shows how to integrate Spring 3, Struts2 and Hibernate 3 in the following example. You can see also Struts 2, Spring 4, Hibernate 4 and Maven Integration Download the required jars for Spring from https://spring.io, Struts from http://struts.apache.org/download.cgi#struts2316 and Hibernate from http://hibernate.org/orm/downloads/ Create web application using Eclipse or any Java based IDE.