I presented an introduction to the Java Spring Framework to the Java programmers at the University of Kansas. The presentation covers some of the capabilities of Spring. There is also an example application the shows how to implement some of Spring's features such as dependency …
Introduction I recently was creating a web application using the Struts 2 Java web application framework. On one of my view pages I needed to display the objects stored in a Java collection that was on the Struts value stack. In addition to displaying all the objects in the collection, …
Introduction
In my project where I used the Apache FOP library to convert XML into a PDF, I needed to insert images into the PDF. You can use the fo:external-graphic tag in the XSL style sheet to specify an image to place into the PDF. What took
Introduction
The Apache Formatting Objects Processor (FOP) is a Java library that you can use to create a PDF from XML. This library uses XSL formatting objects (FO) to render pages in a specific output. The main output is PDF, but other output
Introduction
In the execute method of many Struts 2 ActionSupport classes are statements that create objects and then have those objects execute methods that perform needed tasks. Whenever one class creates an object of another class that introd
Introduction
In the previous Struts 2 examples I used the a validate method in my ActionSupport classes (for example see the Register class in that example project) to do some simple validation of the input the user provided on the register.jsp
Introduction
When using the Struts 2 web application framework, you can take advantage one of the framework's more powerful conventions. Several of the Struts 2 tags (eg. textfield, label) have an attribute named key. Using the key attribute can
My organization is using the Struts 2 Java web application framework to build new web applications. This introduction to Struts 2 is designed for Java web application developers who are not familiar with Struts 2. In this introduction I'll pres
Introduction
I?ve been re-reading the book Head First Design Patterns and slowly working my way through each of the design patterns presented. I came across the Template Method design pattern (chapter 8) and thought implementations of this pa
Sometimes you may need to execute one ActionSupport class and then after that ActionSupport class completes successfully, you need to call another ActionSupport class that can further process the instance variables created by the first ActionSup