Tutorial Struts

Páginas: 54 (13365 palabras) Publicado: 28 de septiembre de 2011
VISIT…

Struts Tutorial

by Stephan Wiesner

Struts Tutorial
by Stephan Wiesner Copyright © 2002 Stephan Wiesner This is a tutorial for the Struts framework. It consists of a small application which is developed step by step. It can display books in the browser, new books can be created and their state saved/loaded in xml files. I try to do the whole thing step by step, with lotsof screenshots to show that it really does work and to help you along. Many of the screenhots actually show error messages. This will help you avoid some of the many pitfalls along the way. This work should enable you to work with Struts in a short time, but you will not become a Struts guru with it. You should have the official documentation at hand to read the theoretical background. Thiswork is closed, I don't think I will continue it's development.

Struts Tutorial

Table of Contents
1.Introduction............................................................................................................................1 1.1.Introduction .................................................................................................................12.InstallationofStruts ................................................................................................................ 2 3. The First Try: Simple JSP ........................................................................................................ 3 4. Second Try: Struts For Internationalisation ............................................................................... 45.StrutsforForms ...................................................................................................................... 9 5.1. First Try at Forms ........................................................................................................ 9 5.2. Struts: Introducing the ActionForm ............................................................................... 14 5.3. Abetter way to seperate Book and BookForm ................................................................ 17 5.4.HandlingInvalidEntries ............................................................................................... 18 5.5. Recapitualation: Where we are ...................................................................................... 21 6.UsingLogic............................................................................................................................ 23 6.1. First Try at Logic ......................................................................................................... 23 6.2.AdvancedLogic ........................................................................................................... 247.Templates...............................................................................................................................30 8.BeanstoXML ........................................................................................................................ 33 9. Replacing JSP with XSLT ....................................................................................................... 3710.IntroducingAspectJ .............................................................................................................. 39 11. Ant for Compilation and Distribution ..................................................................................... 42 11.1.InstallationofANT .................................................................................................... 4211.2.WhatisANT .............................................................................................................. 42 11.3.ConfigurationofANT ................................................................................................ 42 11.4.UsageofANT ............................................................................................................ 43 12.Conclusions...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Struts
  • Struts
  • Struts
  • Struts
  • Struts
  • Struts 2
  • Struts Java
  • Struts Introduction

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS