
Java:Building a Sample Web App with STRUTS
In this article, I will discuss building a sample web application using STRUTS. STRUTS is a leading open-source Web Application Framework. NetBeans is the leading open-source IDE and we will use it to demonstrate how to simplify application development using the IDE. Finally our application will run on TomCat application server.
Prerequisites:
We will assume that as a reader you are familiar with web application development, specifically using JSP and Java.
Preparation:
We need to install NetBeans IDE (and JDK needed for the IDE). You can install NetBeans from www.netbeans.org. Or click here for simple instructions on how to install the IDE.
Quick overview:
We will create a very simple web application just to demonstrate screen flow and action handling using STRUTS. We will use NetBeans to create the JSP aNDjava files, use tools such as auto generation of getters and setters and finally use the IDE to compile and test the app. NetBeans comes with integrated TomCat.