Struts Tutorials

What is Struts? Which Version of Struts to use?

  • 2006-12-12
  • Comments
  • Vilyams
  • 664

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
  • 666

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
  • 673

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
  • 664

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
  • 669

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
  • 663

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.
  • 665

This tutorial lists 7 Best practices of Struts.
Read More

Most Viewed Articles on Struts

Latest Tutorials

Struts : Configuring JDBC DataSources in Struts

Struts : Struts Classes

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

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

Struts : Using JavaScript to submit a form in Struts

Struts : How to prepopulate a form in Struts

Struts : Simple example of using the requiredif Validator rule in Struts

Struts : Chaining actions in Struts

Struts : When is the best time to validate input in Struts

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

Struts : 7 Best Practices of Struts

Struts : Origin and Architecture of Struts

Struts : ActionErrors and ActionError in Struts

Struts : Tutorial on Struts Configuration File - struts-config.xml in Struts - from the book: Struts Survival Guide. Basics to Best Practices

Struts : Handling multiple buttons in HTML Form in Struts

Subscribe to Tutorials

Related Tutorials

Configuring JDBC DataSources in Struts

Struts Classes

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

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

Using JavaScript to submit a form in Struts

How to prepopulate a form in Struts

Simple example of using the requiredif Validator rule in Struts

Chaining actions in Struts

When is the best time to validate input in Struts

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

7 Best Practices of Struts

Origin and Architecture of Struts

ActionErrors and ActionError in Struts

Tutorial on Struts Configuration File - struts-config.xml in Struts - from the book: Struts Survival Guide. Basics to Best Practices

Handling multiple buttons in HTML Form in Struts

Archived Comments

1. very good and very simple for beginers
View Tutorial          By: Biju Thomas at 2010-08-17 08:09:30

2. pls give me code for exact communication between
View Tutorial          By: SIRAJ at 2009-02-19 06:24:10

3. This is very useful example for beginners.

View Tutorial          By: Amresh at 2011-02-28 22:20:11

4. Your site is a really big help. Straight to point
View Tutorial          By: Mark Anthony Santos at 2008-12-16 22:03:57

5. input can be taken simly with Console class

View Tutorial          By: Dinesh at 2012-06-29 11:18:23

6. hello, please i need a help.. i'm trying to make a
View Tutorial          By: Ludmila at 2012-12-10 17:56:00

7. I'm trying to follow this backward, but I can't fi
View Tutorial          By: DMM at 2014-03-14 21:42:06

8. Where should I call the action /editRegistration?
View Tutorial          By: Andrei at 2013-03-08 12:21:07

9. Sometimes java do support operator overloading as
View Tutorial          By: Gunjan Srivastava at 2011-07-06 09:14:00

10. it was so nice .................i can easily solve
View Tutorial          By: pravin at 2012-07-14 06:15:33