+1 vote
what is java struts? how to execute simple java struts program in eclipse or netbeans?
asked Feb 26, 2016 in Computer Science - IT by gypsiii | 125 views

1 Answer

0 votes

Apache Struts is a framework :

  • Apache Struts is a free, 
  • open-source, 
  • MVC framework for creating elegant, modern Java web applications. 

It favors convention over configuration, is extensible using a plugin architecture, and ships with plugins to support REST, AJAX and JSON.

What is a MVC framework ?

They are nothing but a pattern in which project is divided into interconnected parts ,below pic will give you an idea of the same 

Another project example is given below (this is an ASP MVC) :

  • Model has Database operation related files
  • View has interface files
  • Controller interprets user actions

Running Struts application in Netbeans :

Yes, you can create applications in Netbeans with Struts framework

Create a new web project and select framework Struts (New version 8.0 has struts or else you need to add libraries ,added links with good reference below please have a look)

More good references :


answered Feb 26, 2016 by django