Struts 2 How To Customize The Theme That Controls How A Struts 2 Tag Is Displayed In The Browser

Introduction

I was working on a project where I needed to change how the Struts 2 checkboxlist tag was rendered. Struts 2 includes several themes (simple, xhtml, css_xhtml that determine how each Struts 2 user interface tag is rendered in the browser. From reading several references (see below), I learned that you can easily customize how a Struts 2 tag is displayed in the browser. This article will explain how I customized how the Struts 2 checkboxlist tag is rendered. You can apply the same method described in this article to customize how the other Struts 2 tags are displayed.

[More]

Using Blackboard Learn 9 Web Services - Part 4 Getting, Creating, Updating, Deleting Users

Introduction

Blackboard Learn 9.1 provides a User web service that you can use to get information about one or more Blackboard users, create one or more new users in your Blackboard system, and delete existing users. Currently there is a bug in the User web service that prevents using the service to update the information for a current Blackboard user. This tutorial will review how to use the User web service. You should review the previous tutorials in this series prior to reading this part.

[More]

Using Blackboard Learn 9 Web Services - Part 3 Generating And Using Web Service Client Classes

Introduction

This tutorial will describe how to use Axis2--a Java framework for generating web service client classes--and the WSDL files provided by the Blackboard web services to create Java client classes that an application may use to interact with the Blackboard web services.  If you're not familiar with Axis2, visit their website at http://ws.apache.org/axis2/.

After generating the web service client classes, you can use the client classes to interact with the Blackboard web services.

[More]

Using Blackboard Learn 9 Web Services - Part 2 Learning About The Web Service Classes And Methods

Introduction

Blackboard Learn 9.1 provides many different web service classes and those class have numerous methods that you can use to get data out of the Blackboard system and to update/add to data in the Blackboard system.  To effectively use the web service classes you must review what each class can do and how your web service client application can use a particular web service class.  In part 2 of this tutorial series on Blackboard web services, I'll review some of the Blackboard web service classes and how you can find out more information about each class and its methods.

[More]

Using Blackboard Learn 9 Web Services - Part 1 Logging In Using A Proxy Tool

Introduction

With release 9 of the Blackboard Learn system, developers have a new way to get data out of Blackboard for use in external applications. Blackboard now provides extensive SOAP web services that can be called from applications running outside the Blackboard platform. These SOAP web services can be used to both get data out of Blackboard and to update/add data in Blackboard.

[More]

New Struts 2 Tutorials and Examples Available

Introduction

In 2010, I began creating example applications and tutorials for the Apache Struts 2 project. My goal is to provide a series of tutorials and examples that a Java developer new to Struts 2 may use to learn about the Struts 2 framework.

[More]

Struts 2 - Using Message Resource Files To Display Text and Enable Internationalization

Introduction

In this tutorial we'll explore using Struts 2 message resource capabilities (also called resource bundles). Message resources provide a simple way to put text in a view page that is the same throughout your application, to create form field labels, and to change text to a specific language based on the user's locale (i18n).

[More]

Struts 2 Global Exception Handling With Logging

Introduction

One of the perks of my current job is I work with a pretty smart group of Java developers. Jeff Day, one of the programmers here at KU, showed me how to enable logging when using Struts 2's global exception handling mechanism.

[More]

Using JUnit To Test A Struts 2 Action Class In An Application That Also Uses Spring

Introduction

In my Struts 2 web applications, I'm now using Spring to manage class relationships. Creating unit tests for a Struts 2 ActionSupport class in an application that also uses Spring can be difficult. Fortunately, there is a Struts 2 plugin available that makes it easier to write unit tests for ActionSupport class.

[More]

A Struts 2, Spring, and Hibernate Example Application

Introduction

I was learning Hibernate as another methodology for storing my Java objects' state in a data repository. I wanted to experiment with integrating Hibernate into a Struts 2 and Spring application so I created an example of using the three technologies together. The combination of these three frameworks enables Java developers to create powerful web applications with a minimum of code.

[More]

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner