Struts Tutorials

What is Struts? Which Version of Struts to use?

  • 2006-12-12
  • Comments
  • Vilyams
  • 610

Apache Struts is a free open-source framework for creating Java web applications. Web applications differ from conventional websites in that web applications can create a dynamic response. Many websites deliver only static pages. A web application can interact with databases and business logic engines to customize a response.
Read More

Model 1 Architecture

  • 2007-09-13
  • Comments
  • Abinaya
  • 610

Model 1 architecture is the easiest way of developing JSP based web applications. It cannot get any easier. In Model 1, the browser directly accesses JSP pages. In other words, user requests are handled directly by the JSP
Read More

MVC Architecture (Model 2 Architecture)

  • 2007-09-13
  • Comments
  • Baski
  • 609

The Model 2 architecture for designing JSP pages is in reality, Model View Controller (MVC) applied to web applications. Hence the two terms can be used interchangeably in the web world. MVC originated in SmallTalk and has since made its way into Java community. Model 2 architecure and its derivatives are the cornerstones for all serious and industrial strength web applications designed
Read More

MVC with configurable controller

  • 2007-09-13
  • Comments
  • Charles
  • 608

When application gets large you cannot stick to bare bone MVC. You have to extend it somehow to deal with these complexities. One mechanism of extending MVC that has found widespread adoption is based on a configurable controller Servlet. The MVC with configurable controller servlet is shown in Figure below.
Read More

Introduction to Struts Architecture

  • 2007-09-13
  • Comments
  • Daniel Malcolm
  • 608

This tutorial looks closely at the Struts terminology for controller servlet and Handler objects that we mentioned and understand Figure below. Since this is your first look at Struts, we will not get into every detail of the HTTP request handling lifecycle in Struts framework. For now, let us concentrate on the basics.
Read More

Writing the first Struts application

  • 2007-09-22
  • Comments
  • Norman Chap
  • 608

Let's start with developing your first Struts application. Here are the steps involved in creating the Struts application.
Read More

7 Best Practices of Struts

  • 2008-08-13
  • Comments
  • Emiley J.
  • 608

This tutorial lists 7 Best practices of Struts.
Read More

Most Viewed Articles on Struts

Latest Tutorials

Subscribe to Tutorials

Related Tutorials

Configuring JDBC DataSources in Struts

Struts Classes

When is the best time to validate input in Struts

Chaining actions in Struts

Simple example of using the requiredif Validator rule in Struts

How to prepopulate a form in Struts

Using JavaScript to submit a form in Struts

FAQ: Why are my checkboxes not being set from ON to OFF?

FAQ: Why was reload removed from Struts (since 1.1)?

What is a Plug-in and how to use Java plug-ins with Struts?

7 Best Practices of Struts

Origin and Architecture of Struts

Handling multiple buttons in HTML Form in Struts

Protecting JSPs from direct access in Struts

ForwardAction in Struts

Archived Comments

1. Very Good Tutorial...
Very Good For Beginne

View Tutorial          By: Yatiraj Chakre at 2011-02-02 04:28:57

2. thanku verymuch. very helpfull
View Tutorial          By: praveen at 2010-08-05 06:04:35

3. what items do i add?
View Tutorial          By: Camo at 2015-09-30 23:02:10

4. As a beggnar, i find it varry varry usefuull.... P
View Tutorial          By: Rameeza at 2011-05-17 03:14:50

5. Hi.....u have put an extra backslash in the last f
View Tutorial          By: Samantha at 2011-05-12 12:54:39

6. while run program i got this error
The serv

View Tutorial          By: jai at 2009-09-04 04:38:39

7. best site ever.
View Tutorial          By: rehan ahmed at 2008-12-10 02:21:32

8. Is operator overloading possible in java??????
View Tutorial          By: rishi at 2008-11-01 23:55:55

9. HI I've been gettin this problem in STEP 6...How d
View Tutorial          By: Omar_sito12 at 2010-02-22 08:46:18

10. plz can you help me,,,because i need this tomorrow
View Tutorial          By: ivie at 2012-12-12 11:20:35