John Topley's Knowledgebase

Java Entries


Saturday, 12 March 2005

Order Of Elements In web.xml Deployment Descriptor

This reference details the order that elements should appear in the web.xml Web application deployment descriptor file.


Sunday, 21 November 2004

Using A MySQL Data Source With Jakarta Tomcat

Instructions for configuring the Jakarta Tomcat web container to use a MySQL data source.


Saturday, 15 May 2004

Retaining The Time Component When Writing To A Date Column

This Java code illustrates how to write to a date type column without losing the time component.


Wednesday, 05 May 2004

Retaining The Time Component When Assigning A SQL Date To A Java Date

This Java code illustrates how to assign a java.sql.Date object to a java.util.Date object without losing the time component.


Monday, 22 December 2003

Using Struts To Display Exception Details On A JSP

This Java code illustrates how to display exception details on a JSP when using Struts declarative exception handling.


Monday, 01 December 2003

Using The Struts Logic Tag To Detect Browser Version

This Java code illustrates how to detect the web browser version using the Jakarta Struts <logic:match> tag.


Thursday, 13 November 2003

Pre-Selecting A Radio Button Using The Struts Radio Tag

This Java code illustrates how to pre-select radio buttons created using the Jakarta Struts <html:radio> tag.


Wednesday, 17 September 2003

Using The Struts Multibox Tag With LabelValueBeans

This Java code illustrates how to use the Jakarta Struts <html:multibox> tag with LabelValueBeans to display a group of checkboxes on a form.


Wednesday, 20 August 2003

Checking For A Valid HTTP Session

This Java code checks for a valid HTTP Session object within an HTTP request.


Tuesday, 05 August 2003

Right-Justifying JTextPane Text

This Java code right–justifies the text in a Swing JTextPane component.


Tuesday, 05 August 2003

Centring A JDialog On The Screen

This Java code centres a Swing JDialog on the screen.

top

home | archive | kb | media | about | contact | accessibility
Copyright © 2003 - 2005 John Topley. Made with CityDesk.