Showing posts with label Struts. Show all posts
Showing posts with label Struts. Show all posts
Sunday, February 19, 2012
Friday, November 5, 2010
Thursday, August 12, 2010
Jakarta Struts 1.1 pdf by Atlanta Java Users Group (download)
Jakarta Struts 1.1
Ready for Prime Time
Atlanta Java Users Group (AJUG)
August 20 2002
Chuck Cavaness

Ready for Prime Time
Atlanta Java Users Group (AJUG)
August 20 2002
Chuck Cavaness
Presentation Goals
��Introduce Struts from 5,280 ft
��Introduce the Struts 1.1 features
��Highlight the steps for developing a Struts application ��Subliminallyemphasize the importance and benefit of using a framework like Struts
��Introduce Struts from 5,280 ft
��Introduce the Struts 1.1 features
��Highlight the steps for developing a Struts application ��Subliminallyemphasize the importance and benefit of using a framework like Struts
Tuesday, August 3, 2010
Jakarta Struts A beginner's tutorial

Jakarta Struts A beginner's tutorial
Contents
1 Introduction 3
1.1 A brief overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 The MVC design pattern and its application to Struts . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Who should read this tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Installation 4
2.1 JDK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Win32 installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2.1 Linux installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 Tomcat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3.1 Win32 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3.2 Linux Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3.3 Con guration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4 Eclipse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.5 Struts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Learning by example: your rst Struts application 6
3.1 Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2 Creating the application workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.3 The rst page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3.1 First draft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3.2 A bit of internationalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4 Enter the application and create the data source . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.4.1 The JSP form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.4.2 The struts-con g.xml le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.4.3 Create the ActionForm and Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.4.4 Re ning the login process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.4.5 Creating a data source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.5 The main menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.6 Adding a user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.7 Get information about a user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4 Conclusion 23
Sunday, July 25, 2010
Jakarta Struts 1.1 pdf
Speaker Introductions
1 --Technologist (S1 Corporation)
2--Author of Special Edition EJB 2.0
3--Author of Special Edition Java 2
4-- Editor on Various J2EE Books including Special Edition JSP and Servlets, Special Edition J2EE, WebServicesand WebLogic 7.0
5-- for JavaWorld, InformIT, etc.
6-- developer and user since the beginning
7-- several large J2EE Struts-based apps
8-- Jakarta Struts from O’Reilly
Advanced Struts Topics .pdf

Even though Sang Shin is a full-time employee of Sun
Microsystems, the content in this presentation is created as his
own personal endeavor and thus does not reflect any official
stance of Sun Microsystems.
? Sun Microsystems is not responsible for any inaccuracies in the
contents.
? Acknowledgments:
– I borrowed from presentation slides from the following sources
? “Using the Struts framework” presentation material from Sue Spielman of
Switchback Software (sspielman@switchbacksoftware.com)
– Struts' user's guide is also used in creating slides and speaker notes
– Source code examples are from Cookbook example originally written by
– I also used “Programming Jakarta Struts” book written by Chuck Cavane.
Microsystems, the content in this presentation is created as his
own personal endeavor and thus does not reflect any official
stance of Sun Microsystems.
? Sun Microsystems is not responsible for any inaccuracies in the
contents.
? Acknowledgments:
– I borrowed from presentation slides from the following sources
? “Using the Struts framework” presentation material from Sue Spielman of
Switchback Software (sspielman@switchbacksoftware.com)
– Struts' user's guide is also used in creating slides and speaker notes
– Source code examples are from Cookbook example originally written by
– I also used “Programming Jakarta Struts” book written by Chuck Cavane.
Thursday, July 8, 2010
Struts Meterials from DURGA SOFT download.
- Architecture
- 2-tier Architecture
- 3-tier Architecture
- n-tier Architecture
- Web Application development models
- MODEL1 Based Web Applications
- MODEL2 Based Web Applications
- Struts Introduction
- ActionForm and Action Classes
- Struts Flow/Struts Architecture
- DesignPatterns
- MVC(Model View Controller)
- Singleton DesignPattern
- FrontController DesignPattern
- ApplicationController DesignPattern
- DataTransforObect/ValueObject DesigenPattern
- Web.xml file
- struts-config.xml file
- Validations
- By using validate() method
- By using ValidatorFrameWork
- Different types of ActionForms and
DynaActionForms - ActionForm
- DynaActionForm
- ValidatorForm
- DynaValidatorForm
- ValidatorActionForm
- DynaValidatorActionForm
- Predefined Action Classes
- ForwardAction
- IncludeAction
- DispatchAction
- LookupDispatchAction
- SwitchAction
- RequestProcessor
- LocalForwads and GlobalForwards
- LocalExceptions and GlobalExceptions
- DataSources
- Predefined tag library
- Tiles
- IDE :MyEclipse
- Servers :Tomcat, JBoss
- Struts 2.0
- Log4J
Subscribe to:
Posts (Atom)







