O'Reilly logo

Learning Jakarta Struts 1.2: a concise and practical tutorial by Stephan Wiesner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Forms

One of the strengths of Struts lies in the processing of form input fields. This chapter deals with forms and is the most extensive and definitely most challenging chapter of the book. We will first create a new context called shop3 by copying the shop2 folder. We will start with a simple example and then move on to a more complex one.

6.1 Preparation

Although form processing in Struts is very helpful, it is also very intricate. Rather than giving a long and potentially confusing explanation, we will take a look at how form processing works in smaller steps. We will start entering data into the Book table. We will introduce a new technique in the first example. You may not understand everything that is going on until you have built ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required