Category Archives: Servlets and JSP

.keystore, Tomcat, NetBeans and Java

I give a course on Servlets and JSPs at Concordia University’s School of Extended Learning. One of the topics is SSL. I demonstrate how to create a .keystore file using Java’s keytool.exe. Then I edit Tomcat’s server.xml. Presto! All you have to do is use https rather than http and my lecture on SSL is about done. Not this time…. Read more »

Null Pointer Error in XSLT Transformation

In a recent lab session with my students one of them presented me with what I thought would be a simple problem to resolve. Their code was transforming a DOM into an XML document using the XSLT engine in Java 1.6. The source of the data was an ArrayList of JavaBeans created from a JDBC RecordSet. Creating the DOM went… Read more »