Struts Tutorials

What is Struts? Which Version of Struts to use?

  • 2006-12-12
  • Comments
  • Vilyams
  • 9414

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

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

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

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

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

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

This tutorial lists 7 Best practices of Struts.
Read More

Most Viewed Articles on Struts

Latest 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. super explination.
View Tutorial          By: nagarjun reddy at 2013-01-19 13:55:16

2. nice examlpe but u can make it more easy so that t
View Tutorial          By: lovely at 2009-02-25 07:08:18

3. @Prab, no its 7 since it starts the counting at 0
View Tutorial          By: Shadowfaux at 2009-11-21 15:22:49

4. how doeas peek work in a c++ program
View Tutorial          By: odwa at 2008-02-29 02:44:19

5. Hi sir just send me the code sir .... i am interes
View Tutorial          By: maruthi at 2013-10-30 05:14:15

6. Hi, You can use a javascript array. Which means wh
View Tutorial          By: Mashoud at 2008-05-04 02:54:38

7. It is very helpful, I searched in many websites, b
View Tutorial          By: Anil Vaja at 2013-10-14 17:21:42

8. thank you...
View Tutorial          By: Rojan at 2011-07-04 01:51:45

9. i got really nice help from the code. Thanks.
View Tutorial          By: Amit at 2009-04-10 08:18:40

10. i really have to thank you for the wonderful fluid
View Tutorial          By: Joel Pereira at 2011-03-19 22:08:58